Skip to content

Libbpf userspace function bpf_map__name

0.0.1

Get the name of a map.

Definition

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

Parameters

  • map: Pointer to the BPF map.

Return

Name of the map, as a NULL-terminated string. 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