MCPcopy
hub / github.com/cilium/ebpf / Pinner

Interface Pinner

pin/load.go:14–17  ·  view source on GitHub ↗

Pinner is an interface implemented by all eBPF objects that support pinning to a bpf virtual filesystem.

Source from the content-addressed store, hash-verified

12// Pinner is an interface implemented by all eBPF objects that support pinning
13// to a bpf virtual filesystem.
14type Pinner interface {
15 io.Closer
16 Pin(string) error
17}
18
19// Load retrieves a pinned object from a bpf virtual filesystem. It returns one
20// of [ebpf.Map], [ebpf.Program], or [link.Link].

Callers

nothing calls this directly

Implementers 6

Mapmap.go
Programprog.go
perfEventIoctllink/perf_event.go
RawLinklink/link.go
progAttachCgrouplink/cgroup.go
simpleRawTracepointlink/raw_tracepoint.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…