MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / EnableThreadpoolCallstack

Method EnableThreadpoolCallstack

internal/etw/stackext.go:108–114  ·  view source on GitHub ↗

EnableThreadpoolCallstack enables stack tracing for thread pool events.

()

Source from the content-addressed store, hash-verified

106
107// EnableThreadpoolCallstack enables stack tracing for thread pool events.
108func (s *StackExtensions) EnableThreadpoolCallstack() {
109 if s.config.EnableThreadpoolEvents {
110 s.AddStackTracing(event.SubmitThreadpoolWork)
111 s.AddStackTracing(event.SubmitThreadpoolCallback)
112 s.AddStackTracing(event.SetThreadpoolTimer)
113 }
114}

Callers 1

OpenMethod · 0.95

Calls 1

AddStackTracingMethod · 0.95

Tested by

no test coverage detected