Skip to content

Libbpf userspace function bpf_map__set_pin_path

0.0.6

Sets the path attribute that tells where the BPF map should be pinned. This does not actually create the 'pin'.

Definition

int bpf_map__set_pin_path(struct bpf_map *map, const char *path);

Parameters

  • map: The bpf_map
  • path: The path

Return

0, on success; negative error, 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