Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Func1 (0.04 sec)

  1. src/runtime/pprof/pprof_test.go

    		if err := p.CheckValid(); err != nil {
    			t.Fatalf("invalid profile: %v", err)
    		}
    
    		stks := stacks(p)
    		for _, want := range [][]string{
    			{"sync.(*Mutex).Unlock", "runtime/pprof.blockMutexN.func1"},
    		} {
    			if !containsStack(stks, want) {
    				t.Errorf("No matching stack entry for %+v", want)
    			}
    		}
    
    		i := 0
    		for ; i < len(p.SampleType); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    	if staticLockRanking {
    		// When static lock ranking is enabled, we'll always be on the system
    		// stack at this point. There will be a runtime.unlockWithRank.func1
    		// frame, and if the call to runtime.unlock took place on a user stack
    		// then there'll also be a runtime.systemstack frame. To keep stack
    		// traces somewhat consistent whether or not static lock ranking is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top