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

Method StartTrace

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

StartTrace begins execution tracing, writing to w. It returns a stop function that must be called to finish tracing.

(w io.Writer)

Source from the content-addressed store, hash-verified

347 // StartTrace begins execution tracing, writing to w. It returns
348 // a stop function that must be called to finish tracing.
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.

Callers 1

debugCollectProfileMethod · 0.65

Implementers 2

noopProfileCollectorcoderd/debug_test.go

Calls

no outgoing calls

Tested by

no test coverage detected