Skip to content

Libbpf userspace function bpf_map__numa_node

0.1.0

Get the NUMA node the map is or will be created on.

Definition

__u32 bpf_map__numa_node(const struct bpf_map *map);

Parameters

  • map: Pointer to the BPF map.

Return

NUMA node the map is or will be created on. Or 0 if no preference is given.

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