Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExternalCode (0.43 sec)

  1. src/runtime/crash_test.go

    	cmd.Env = append(cmd.Env, "PPROF_TMPDIR="+os.TempDir())
    	top, err := cmd.CombinedOutput()
    	t.Logf("%s", top)
    	if err != nil {
    		t.Error(err)
    	} else if bytes.Contains(top, []byte("ExternalCode")) {
    		t.Error("profiler refers to ExternalCode")
    	}
    }
    
    // Test that runtime.abort does so.
    func TestAbort(t *testing.T) {
    	// Pass GOTRACEBACK to ensure we get runtime frames.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    		// Account it against abstract "System" or "GC".
    		n = 2
    		if inVDSOPage(pc) {
    			pc = abi.FuncPCABIInternal(_VDSO) + sys.PCQuantum
    		} else if pc > firstmoduledata.etext {
    			// "ExternalCode" is better than "etext".
    			pc = abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum
    		}
    		stk[0] = pc
    		if mp.preemptoff != "" {
    			stk[1] = abi.FuncPCABIInternal(_GC) + sys.PCQuantum
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top