MCPcopy Index your code
hub / github.com/coder/coder / LookupProfile

Method LookupProfile

coderd/debug.go:351–351  ·  view source on GitHub ↗

LookupProfile writes the named snapshot profile to w.

(name string, w io.Writer)

Source from the content-addressed store, hash-verified

349 StartTrace(w io.Writer) (stop func(), err error)
350 // LookupProfile writes the named snapshot profile to w.
351 LookupProfile(name string, w io.Writer) error
352 // SetBlockProfileRate enables/disables block profiling.
353 SetBlockProfileRate(rate int)
354 // SetMutexProfileFraction enables/disables mutex profiling.

Callers 1

debugCollectProfileMethod · 0.65

Implementers 2

noopProfileCollectorcoderd/debug_test.go

Calls

no outgoing calls

Tested by

no test coverage detected