Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 733 for proc (0.07 sec)

  1. src/cmd/trace/gstate.go

    	}
    }
    
    // block indicates that the goroutine has stopped executing on a proc -- specifically,
    // it blocked for some reason.
    func (gs *gState[R]) block(ts trace.Time, stack trace.Stack, reason string, ctx *traceContext) {
    	gs.startBlockReason = reason
    	gs.stop(ts, stack, ctx)
    }
    
    // stop indicates that the goroutine has stopped executing on a proc.
    func (gs *gState[R]) stop(ts trace.Time, stack trace.Stack, ctx *traceContext) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    -- expect --
    FAILURE ".*expected a proc but didn't have one.*"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=34
    GoCreateSyscall dt=1 new_g=4
    ProcStatus dt=1 p=0 pstatus=2
    ProcStart dt=1 p=0 p_seq=1
    GoSyscallEndBlocked dt=1
    GoStart dt=1 g=4 g_seq=1
    GoSyscallBegin dt=1 p_seq=2 stack=0
    GoDestroySyscall dt=1
    GoCreateSyscall dt=1 new_g=4
    GoSyscallEnd dt=1
    GoSyscallBegin dt=1 p_seq=3 stack=0
    GoDestroySyscall dt=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  3. pkg/volume/util/hostutil/hostutil_linux.go

    	"github.com/opencontainers/selinux/go-selinux"
    	"golang.org/x/sys/unix"
    	"k8s.io/klog/v2"
    	"k8s.io/mount-utils"
    	utilpath "k8s.io/utils/path"
    )
    
    const (
    	// Location of the mountinfo file
    	procMountInfoPath = "/proc/self/mountinfo"
    )
    
    // HostUtil implements HostUtils for Linux platforms.
    type HostUtil struct {
    }
    
    // NewHostUtil returns a struct that implements the HostUtils interface on
    // linux platforms
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-fail-first-gen-first.test

    -- expect --
    FAILURE "expected a proc but didn't have one"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=0 time=0 size=5
    GoCreate dt=0 new_g=1 new_stack=0 stack=0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 256 bytes
    - Viewed (0)
  5. docs/debugging/reorder-disks/main.go

    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    	if err != nil {
    		return nil, err
    	}
    	defer mountInfo.Close()
    
    	scanner := bufio.NewScanner(mountInfo)
    	for scanner.Scan() {
    		s := strings.Split(scanner.Text(), " ")
    		if len(s) != 11 {
    			return nil, errors.New("unsupported /proc/self/mountinfo format")
    		}
    		result[s[2]] = s[9]
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/internal/trace/internal/oldtrace/parser.go

    	availableProcs := make([]*proc, len(allProcs))
    	for i := range allProcs {
    		availableProcs[i] = &allProcs[i]
    	}
    	for {
    	pidLoop:
    		for i := 0; i < len(availableProcs); i++ {
    			proc := availableProcs[i]
    
    			for len(proc.events) == 0 {
    				// Call loadBatch in a loop because sometimes batches are empty
    				evs, err := p.loadBatch(proc.pid, proc.buf[:0])
    				proc.buf = evs[:0]
    				if err == io.EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go

    		sb.WriteByte(byte(b))
    	}
    	major, minor, _, ok := parseRelease(sb.String())
    	return ok && (major > 4 || major == 4 && minor >= 11)
    }
    
    func doinit() {
    	if err := readHWCAP(); err != nil {
    		// We failed to read /proc/self/auxv. This can happen if the binary has
    		// been given extra capabilities(7) with /bin/setcap.
    		//
    		// When this happens, we have two options. If the Linux kernel is new
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/trace/gen.go

    			g.ranges[r] = activeRange{ctx.startTime, ev.Stack()}
    		}
    	case trace.EventRangeEnd:
    		// Emit proc-based ranges.
    		ar := g.ranges[r]
    		ctx.Slice(traceviewer.SliceEvent{
    			Name:     r.Name,
    			Ts:       ctx.elapsed(ar.time),
    			Dur:      ev.Time().Sub(ar.time),
    			Resource: uint64(r.Scope.Proc()),
    			Stack:    ctx.Stack(viewerFrames(ar.stack)),
    			EndStack: ctx.Stack(viewerFrames(ev.Stack())),
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/net/sock_linux.go

    	if major > 4 || (major == 4 && minor >= 1) {
    		size = 32
    	}
    
    	var max uint = 1<<size - 1
    	if uint(n) > max {
    		n = int(max)
    	}
    	return n
    }
    
    func maxListenerBacklog() int {
    	fd, err := open("/proc/sys/net/core/somaxconn")
    	if err != nil {
    		return syscall.SOMAXCONN
    	}
    	defer fd.close()
    	l, ok := fd.readLine()
    	if !ok {
    		return syscall.SOMAXCONN
    	}
    	f := getFields(l)
    	n, _, ok := dtoi(f[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:39:45 UTC 2022
    - 993 bytes
    - Viewed (0)
  10. cmd/kubeadm/app/preflight/checks_test.go

    			serviceCidr: "10.96.0.0/16,fda9:d324:354d:1::/112",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward", "FileContent--proc-sys-net-ipv6-conf-default-forwarding"},
    		},
    		{
    			testName:    "single stack ipv4",
    			PodSubnet:   "10.244.0.0/16",
    			serviceCidr: "10.96.0.0/16",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward"},
    		},
    		{
    			testName:    "single stack ipv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top