Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct {
// contains filtered or unexported fields
}
func NewCPUProfiler ¶
func NewCPUProfiler( logger log.Logger, reg prometheus.Registerer, processInfoManager profiler.ProcessInfoManager, compilerInfoManager *runtime.CompilerInfoManager, profileConverter *pprof.Manager, profileWriter profiler.ProfileStore, config *Config, bpfProgramLoaded chan bool, objFilePool *objectfile.Pool, ) *CPU
func (*CPU) LastProfileStartedAt ¶
func (*CPU) ProcessLastErrors ¶
type Config ¶
type Config struct {
ProfilingDuration time.Duration
ProfilingSamplingFrequency uint64
PerfEventBufferPollInterval time.Duration
PerfEventBufferProcessingInterval time.Duration
PerfEventBufferWorkerCount int
MemlockRlimit uint64
DebugProcessNames []string
DWARFUnwindingDisabled bool
DWARFUnwindingMixedModeEnabled bool
BPFVerboseLoggingEnabled bool
BPFEventsBufferSize uint32
PythonUnwindingEnabled bool
RubyUnwindingEnabled bool
RateLimitUnwindInfo uint32
RateLimitProcessMappings uint32
RateLimitRefreshProcessInfo uint32
}
func (Config) DebugModeEnabled ¶ added in v0.24.0
type UnwinderConfig ¶ added in v0.24.0
type UnwinderConfig struct {
FilterProcesses bool
VerboseLogging bool
MixedStackWalking bool
PythonEnable bool
RubyEnabled bool
Padding1 bool
Padding2 bool
Padding3 bool
RateLimitUnwindInfo uint32
RateLimitProcessMappings uint32
RateLimitRefreshProcessInfo uint32
}
UnwinderConfig must be synced to the C definition.
Click to show internal directories.
Click to hide internal directories.