Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2025 Changes in this version + var ErrUnsupported = errors.New("eBPF monitoring is only supported on Linux kernels >= 4.18") + type BTFLoader struct — linux/amd64 + func NewBTFLoader(cfg *config.EBPFConfig) *BTFLoader + func (l *BTFLoader) LoadSpec(ctx context.Context) (*btf.Spec, string, error) + type Event struct + Bytes uint64 + PID uint32 + Path string + Timestamp time.Time + type HotPathSink interface + ApplyHotPathHints func(map[string]float64) error + type LifecycleEvent struct + ContainerID string + Namespace string + PID uint32 + Runtime string + State string + Timestamp time.Time + type Manager interface + ApplyHotPathHints func(map[string]float64) error + Close func() error + Events func() <-chan Event + LifecycleEvents func() <-chan LifecycleEvent + Start func(ctx context.Context) error + func NewManager(_ string, _ *config.EBPFConfig) (Manager, error) + func NewManager(stateDir string, cfg *config.EBPFConfig) (Manager, error) + type Profiler struct + func NewProfiler(cfg *config.EBPFConfig, sink HotPathSink) *Profiler + func (p *Profiler) Flush() + func (p *Profiler) Record(path string) + func (p *Profiler) Run(ctx context.Context) + func (p *Profiler) Snapshot() map[string]float64