- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for captureStack (0.21 sec)
-
src/runtime/mprof.go
// //go:nowritebarrierrec func (prof *mLockProfile) recordUnlock(l *mutex) { if uintptr(unsafe.Pointer(l)) == prof.pending { prof.captureStack() } if gp := getg(); gp.m.locks == 1 && gp.m.mLockProfile.cycles != 0 { prof.store() } } func (prof *mLockProfile) captureStack() { if debug.profstackdepth == 0 { // profstackdepth is set to 0 by the user, so mp.profStack is nil and we // can't record a stack trace.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0)