Libbpf userspace function bpf_map__is_internal
Tells the caller whether or not the passed map is a special map created by libbpf automatically for things like global variables, __ksym
externs, Kconfig values, etc
Definition
bool bpf_map__is_internal(const struct bpf_map *map);
Parameters
map
: the bpf_map
Return
true
, if the map is an internal map; 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