Skip to content

Libbpf userspace function bpf_map__is_pinned

0.0.6

Tells the caller whether or not the passed map has been pinned via a 'pin' file.

Definition

bool bpf_map__is_pinned(const struct bpf_map *map);

Parameters

  • map: The bpf_map

Return

true, if the map is pinned; false, otherwise

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