Skip to content

Libbpf userspace function bpf_map__autocreate

0.8.0

Returns a boolean value indicating whether libbpf has to auto-create BPF map during BPF object load phase.

Definition

bool bpf_map__autocreate(const struct bpf_map *map);

Parameters

  • map: Pointer to the BPF map.

Return

true if the BPF map should be auto-created, 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