Home | History | Annotate | Download | only in pprof

Lines Matching defs:Add

18 // To add equivalent profiling support to a standalone program, add
107 // Add or Remove method call.
239 // Add adds the current execution stack to the profile, associated with value.
240 // Add stores value in an internal map, so value must be suitable for use as
242 // call to Remove. Add panics if the profile already contains a stack for value.
246 // trace in the function calling Add. For example, given this
249 // Add
254 // Passing skip=0 begins the stack trace at the call to Add inside rpc.NewClient.
257 func (p *Profile) Add(value interface{}, skip int) {
262 panic("pprof: Add called on built-in Profile " + p.name)
271 panic("pprof: Profile.Add of duplicate value")