MCPcopy Create free account
hub / github.com/coder/coder / StartTrace

Method StartTrace

coderd/debug.go:370–375  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

368}
369
370func (defaultProfileCollector) StartTrace(w io.Writer) (func(), error) {
371 if err := trace.Start(w); err != nil {
372 return nil, err
373 }
374 return trace.Stop, nil
375}
376
377func (defaultProfileCollector) LookupProfile(name string, w io.Writer) error {
378 p := pprof.Lookup(name)

Callers

nothing calls this directly

Calls 1

StartMethod · 0.65

Tested by

no test coverage detected