Documentation
¶
Overview ¶
Package pprofutils is a fork of github.com/felixge/pprofutils, see README.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delta ¶
type Delta struct {
// SampleTypes limits the delta calcultion to the given sample types. Other
// sample types will retain the values of profile b. The defined sample types
// must exist in the profile, otherwise derivation will fail with an error.
//
// The use case for this is to deal with the heap profile which
// contains alloc and inuse sample types, but delta profiling makes no sense
// for the latter.
SampleTypes []ValueType
}
Delta describes how to compute the delta between two profiles and implements the conversion.
type Protobuf ¶
type Protobuf struct {
// SampleTypes causes the text output to begin with a header line listing
// the sample types found in the profile. This is a custom extension to the
// folded text format.
SampleTypes bool
}
Protobuf converts from pprof's protobuf to folded text format.
Click to show internal directories.
Click to hide internal directories.