- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tracecheckstackownership (0.44 sec)
-
src/runtime/runtime1.go
{name: "schedtrace", value: &debug.schedtrace}, {name: "traceadvanceperiod", value: &debug.traceadvanceperiod}, {name: "traceallocfree", atomic: &debug.traceallocfree}, {name: "tracecheckstackownership", value: &debug.traceCheckStackOwnership}, {name: "tracebackancestors", value: &debug.tracebackancestors}, {name: "tracefpunwindoff", value: &debug.tracefpunwindoff}, } func parsedebugvars() { // defaults
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
src/runtime/extern.go
applies if a program is built with GOEXPERIMENT=exectracer2. Used primarily for testing and debugging the execution tracer. tracecheckstackownership: setting tracecheckstackownership=1 enables a debug check in the execution tracer to double-check stack ownership before taking a stack trace. asyncpreemptoff: asyncpreemptoff=1 disables signal-based
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/runtime/tracestack.go
// Figure out gp and mp for the backtrace. var mp *m if gp == nil { mp = getg().m gp = mp.curg } // Double-check that we own the stack we're about to trace. if debug.traceCheckStackOwnership != 0 && gp != nil { status := readgstatus(gp) // If the scan bit is set, assume we're the ones that acquired it. if status&_Gscan == 0 { // Use the trace status to check this. There are a number of cases
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/trace/trace_test.go
} cmd.Args = append(cmd.Args, testPath) cmd.Env = append(os.Environ(), "GOEXPERIMENT=rangefunc") // Add a stack ownership check. This is cheap enough for testing. godebug := "tracecheckstackownership=1" if stress { // Advance a generation constantly to stress the tracer. godebug += ",traceadvanceperiod=0" } if extraGODEBUG != "" { // Add extra GODEBUG flags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0)