Libbpf userspace function bpf_map__btf_value_type_id
Get the BTF type ID of the value of a BPF map.
Definition
__u32 bpf_map__btf_value_type_id(const struct bpf_map *map);
Parameters
map
: Pointer to the BPF map.
Return
BTF type ID of the value of the map. Or 0
if no BTF type ID is available.
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