- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tracebackPCs (0.52 sec)
-
src/runtime/traceback.go
var n int systemstack(func() { var u unwinder u.initAt(pc, sp, 0, gp, unwindSilentErrors) n = tracebackPCs(&u, skip, pcbuf) }) return n } func gcallers(gp *g, skip int, pcbuf []uintptr) int { var u unwinder u.init(gp, unwindSilentErrors) return tracebackPCs(&u, skip, pcbuf) } // showframe reports whether the frame with the given characteristics should
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/mprof.go
} var nstk int gp := getg() sp := getcallersp() pc := getcallerpc() systemstack(func() { var u unwinder u.initAt(pc, sp, 0, gp, unwindSilentErrors|unwindJumpStack) nstk = 1 + tracebackPCs(&u, skip, prof.stack[1:]) }) if nstk < len(prof.stack) { prof.stack[nstk] = 0 } } func (prof *mLockProfile) store() { // Report any contention we experience within this function as "lost"; it's
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/asm_amd64.s
MOVQ (g_sched+gobuf_bp)(AX), BP MOVQ $0, (g_sched+gobuf_sp)(AX) MOVQ $0, (g_sched+gobuf_bp)(AX) RET noswitch: // already on m stack; tail call the function // Using a tail call here cleans up tracebacks since we won't stop // at an intermediate systemstack. MOVQ DI, DX MOVQ 0(DI), DI // The function epilogue is not called on a tail call. // Pop BP from the stack to simulate it. POPQ BP JMP DI
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0)