Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequestUnwindInformation = 1 << 63 RequestProcessMappings = 1 << 62 RequestRefreshProcInfo = 1 << 61 )
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, processInfoManager profiler.ProcessInfoManager, profileConverter *pprof.Manager, profileWriter profiler.ProfileStore, profilingDuration time.Duration, profilingSamplingFrequency uint64, perfEventBufferPollInterval time.Duration, perfEventBufferProcessingInterval time.Duration, perfEventBufferWorkerCount int, memlockRlimit uint64, debugProcessNames []string, disableDWARFUnwinding bool, mixedUnwinding bool, verboseBpfLogging bool, bpfProgramLoaded chan bool, ) *CPU
func (*CPU) LastProfileStartedAt ¶
func (*CPU) ProcessLastErrors ¶
Click to show internal directories.
Click to hide internal directories.