ebpfutil

package
v0.19.11 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CString

func CString(b []byte) string

CString converts a null-terminated byte array to a Go string.

func Prepare

func Prepare() error

Prepare configures the process and validates kernel capabilities needed for eBPF.

func RunRingbuf

func RunRingbuf(ctx context.Context, reader *ringbuf.Reader, name string, handle func(raw []byte) error)

RunRingbuf reads ring buffer events until the context is cancelled.

func WrapVerifierError

func WrapVerifierError(err error, context string) error

WrapVerifierError formats verifier errors and wraps the original error with context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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