Skip to content

Libbpf userspace function bpf_link__open

0.0.8

Open a BPF link from a pin path.

Definition

struct bpf_link *bpf_link__open(const char *path);

Parameters

  • path: Path to the BPF link pin.

Return

  • struct bpf_link *: Pointer to the opened BPF link. NULL on error.

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome