Libbpf userspace function bpf_map__set_pin_path
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_mappath
: 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