Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pinner ¶
Pinner is an interface implemented by all eBPF objects that support pinning to a bpf virtual filesystem.
func Load ¶
func Load(path string, opts *ebpf.LoadPinOptions) (Pinner, error)
Load retrieves a pinned object from a bpf virtual filesystem. It returns one of ebpf.Map, ebpf.Program, or link.Link.
Trying to open anything other than a bpf object is an error.
Click to show internal directories.
Click to hide internal directories.