Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 330 for proc (0.09 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_test.go

    	if runtime.GOOS == "windows" {
    		return
    	}
    
    	const tempPrefix = "test.kubeadm.runtime.isExistingSocket."
    	tests := []struct {
    		name string
    		proc func(*testing.T)
    	}{
    		{
    			name: "Valid domain socket is detected as such",
    			proc: func(t *testing.T) {
    				tmpFile, err := os.CreateTemp("", tempPrefix)
    				if err != nil {
    					t.Fatalf("unexpected error by TempFile: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/internal/trace/event.go

    // starting to run on this thread and/or proc, then this will return
    // NoGoroutine. In this case, the goroutine starting to run will be
    // can be found at Event.StateTransition().Resource.
    func (e Event) Goroutine() GoID {
    	return e.ctx.G
    }
    
    // Proc returns the ID of the proc this event event pertains to.
    //
    // Note that for proc state transitions this always refers to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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/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)
  9. 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)
  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