Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNeedMoreProfilingRounds = errors.New("not enough profiling rounds with this unwind info")
)
Functions ¶
Types ¶
type CPU ¶
type CPU struct {
// contains filtered or unexported fields
}
func NewCPUProfiler ¶
func NewCPUProfiler( logger log.Logger, reg prometheus.Registerer, symbolizer profiler.Symbolizer, psMapCache profiler.ProcessMapCache, objFileCache profiler.ObjectFileCache, profileWriter profiler.ProfileWriter, debuginfoProcessor profiler.DebugInfoManager, labelsManager profiler.LabelsManager, profilingDuration time.Duration, profilingSamplingFrequency uint64, memlockRlimit uint64, debugProcessNames []string, disableDWARFUnwinding bool, dwarfUnwindingPolling bool, verboseBpfLogging bool, bpfProgramLoaded chan bool, ) *CPU
func (*CPU) DwarfUnwindingWithoutPolling ¶ added in v0.13.0
func (*CPU) LastProfileStartedAt ¶
func (*CPU) ProcessLastErrors ¶
Click to show internal directories.
Click to hide internal directories.