MCPcopy
hub / github.com/felixge/fgprof / Ignore

Method Ignore

fgprof.go:158–160  ·  view source on GitHub ↗

Ignore sets a list of frames that should be ignored when exporting the profile.

(frames ...*runtime.Frame)

Source from the content-addressed store, hash-verified

156// Ignore sets a list of frames that should be ignored when exporting the
157// profile.
158func (p *wallclockProfile) Ignore(frames ...*runtime.Frame) {
159 p.ignore = frames
160}
161
162// Add adds the given stack traces to the profile.
163func (p *wallclockProfile) Add(stackRecords []runtime.StackRecord) {

Callers 1

StartFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected