tracer

package
v0.2.259 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportedMajor = 6
	SupportedMinor = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MountnsMap *ebpf.Map
}

type GadgetDesc

type GadgetDesc struct{}

func (*GadgetDesc) NewInstance

func (g *GadgetDesc) NewInstance() (gadgets.Gadget, error)

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

func NewTracer

func NewTracer(config *Config, enricher gadgets.DataEnricherByMntNs,
	eventCallback func(*types.Event)) (*Tracer, error)

func (*Tracer) Close

func (t *Tracer) Close()

func (*Tracer) Run

func (t *Tracer) Run(gadgetCtx gadgets.GadgetContext) error

func (*Tracer) SetEventHandler

func (t *Tracer) SetEventHandler(handler any)

func (*Tracer) SetMountNsMap

func (t *Tracer) SetMountNsMap(mountnsMap *ebpf.Map)

func (*Tracer) Stop

func (t *Tracer) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL