Home | History | Annotate | Download | only in pprof

Lines Matching defs:Add

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