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