Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for proc (0.11 sec)

  1. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go

    Michael Anthony Knyszek <******@****.***> 1716583527 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 855 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-syscall-steal-proc-sitting-in-syscall.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 429 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-bare-m.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 466 bytes
    - Viewed (0)
  4. src/cmd/trace/procgen.go

    }
    
    func (g *procGenerator) ProcTransition(ctx *traceContext, ev *trace.Event) {
    	st := ev.StateTransition()
    	proc := st.Resource.Proc()
    
    	g.maxProc = max(g.maxProc, proc)
    	viewerEv := traceviewer.InstantEvent{
    		Resource: uint64(proc),
    		Stack:    ctx.Stack(viewerFrames(ev.Stack())),
    	}
    
    	from, to := st.Proc()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if to.Executing() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/os/pidfd_linux_test.go

    	}
    	p.Wait()
    
    	// Use pid of a non-existing process.
    	proc, err := os.FindProcess(p.Pid)
    	// FindProcess should never return errors on Unix.
    	if err != nil {
    		t.Fatalf("FindProcess: got error %v, want <nil>", err)
    	}
    	// FindProcess should never return nil Process.
    	if proc == nil {
    		t.Fatal("FindProcess: got nil, want non-nil")
    	}
    	if proc.Status() != os.StatusDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/trace/threadgen.go

    		}
    	}
    
    	type procArg struct {
    		Proc uint64 `json:"proc,omitempty"`
    	}
    	st := ev.StateTransition()
    	viewerEv := traceviewer.InstantEvent{
    		Resource: uint64(ev.Thread()),
    		Stack:    ctx.Stack(viewerFrames(ev.Stack())),
    		Arg:      procArg{Proc: uint64(st.Resource.Proc())},
    	}
    
    	from, to := st.Proc()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/internal/trace/resources.go

    	return "Bad"
    }
    
    // ProcState represents the state of a proc.
    //
    // New ProcStates may be added in the future. Users of this type must be robust
    // to that possibility.
    type ProcState uint8
    
    const (
    	ProcUndetermined ProcState = iota // No information is known about the proc.
    	ProcNotExist                      // Proc does not exist.
    	ProcRunning                       // Proc is running.
    	ProcIdle                          // Proc is idle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/cmd/trace/jsontrace_test.go

    	procStarted := map[uint64]bool{}
    	for _, e := range data.Events {
    		if e.Name == "proc start" {
    			if procStarted[e.TID] == true {
    				t.Errorf("proc started twice: %d", e.TID)
    			}
    			procStarted[e.TID] = true
    		}
    		if e.Name == "proc stop" {
    			if procStarted[e.TID] == false {
    				t.Errorf("proc stopped twice: %d", e.TID)
    			}
    			procStarted[e.TID] = false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. cni/pkg/repair/netns.go

    	if parsedPodAddr == nil {
    		return "", fmt.Errorf("failed to parse addr: %s", pod.Status.PodIP)
    	}
    
    	fs, err := procfs.NewFS("/host/proc")
    	if err != nil {
    		return "", fmt.Errorf("read procfs: %v", err)
    	}
    	procs, err := fs.AllProcs()
    	if err != nil {
    		return "", fmt.Errorf("read procs: %v", err)
    	}
    	oldest := uint64(math.MaxUint64)
    	best := ""
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-process.go

    	processIOReadBytesMD              = NewCounterMD(processIOReadBytes, "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes")
    	processIOWCharBytesMD             = NewCounterMD(processIOWCharBytes, "Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 16:07:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top