Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FuncPCABIInternal (0.24 sec)

  1. src/runtime/cpuprof.go

    		hdr := [1]uint64{p.lostExtra}
    		lostStk := [2]uintptr{
    			abi.FuncPCABIInternal(_LostExternalCode) + sys.PCQuantum,
    			abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum,
    		}
    		p.log.write(nil, 0, hdr[:], lostStk[:])
    		p.lostExtra = 0
    	}
    
    	if p.lostAtomic > 0 {
    		hdr := [1]uint64{p.lostAtomic}
    		lostStk := [2]uintptr{
    			abi.FuncPCABIInternal(_LostSIGPROFDuringAtomic64) + sys.PCQuantum,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd.go

    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = uint32(sigset_all)
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		fn = abi.FuncPCABI0(sigtramp)
    	}
    	sa.sa_sigaction = fn
    	sigaction(i, &sa, nil)
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/runtime/os_aix.go

    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		fn = uintptr(unsafe.Pointer(&sigtramp))
    	}
    	sa.sa_handler = fn
    	sigaction(uintptr(i), &sa, nil)
    
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/runtime/symtabinl_test.go

    	"internal/stringslite"
    	"runtime/internal/sys"
    )
    
    func XTestInlineUnwinder(t TestingT) {
    	if TestenvOptimizationOff() {
    		t.Skip("skipping test with inlining optimizations disabled")
    	}
    
    	pc1 := abi.FuncPCABIInternal(tiuTest)
    	f := findfunc(pc1)
    	if !f.valid() {
    		t.Fatalf("failed to resolve tiuTest at PC %#x", pc1)
    	}
    
    	want := map[string]int{
    		"tiuInlined1:3 tiuTest:10":               0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/runtime/pprof/vminfo_darwin_test.go

    	if got, want := offset, uint64(0); got != want {
    		t.Errorf("got %x, want %x", got, want)
    	}
    	if !strings.HasSuffix(filename, "pprof.test") {
    		t.Errorf("got %s, want pprof.test", filename)
    	}
    	addr := uint64(abi.FuncPCABIInternal(TestVMInfo))
    	if addr < lo || addr > hi {
    		t.Errorf("%x..%x does not contain function %p (%x)", lo, hi, TestVMInfo, addr)
    	}
    }
    
    func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/runtime/export_debug_test.go

    		if getg().m != h.mp {
    			println("trap on wrong M", getg().m, h.mp)
    			return false
    		}
    		// Save the signal context
    		h.saveSigContext(ctxt)
    		// Set PC to debugCallV2.
    		ctxt.setsigpc(uint64(abi.FuncPCABIInternal(debugCallV2)))
    		// Call injected. Switch to the debugCall protocol.
    		testSigtrap = h.handleF
    	case _Grunnable:
    		// Ask InjectDebugCall to pause for a bit and then try
    		// again to interrupt this goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top