bpftracker

package
v0.0.0-...-ffbb1e7 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadProbes

func LoadProbes(objs bpfObjects) map[string]FentryOrKprobe

func NewTracker

func NewTracker(callbackFn func(event *trackapi.PortEvent)) trackapi.PortTracker

func ReconstructIPAddress

func ReconstructIPAddress(event bpfEvent) net.IP

func RunProbe

func RunProbe(funcName string, probe FentryOrKprobe) (link.Link, error)

Types

type EbpfPortTracker

type EbpfPortTracker struct {
	CallbackFn func(event *trackapi.PortEvent)
}

func (*EbpfPortTracker) Run

func (m *EbpfPortTracker) Run(ctx context.Context) error

type FentryOrKprobe

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

Jump to

Keyboard shortcuts

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