Skip to content

Libbpf userspace function bpf_map__pin_path

0.5.0

Gets the path attribute that tells where the BPF map should be pinned.

Definition

const char *bpf_map__pin_path(const struct bpf_map *map);

Parameters

  • map: The bpf_map

Return

The path string; which can be NULL

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