Skip to content

Libbpf userspace function bpf_map__autoattach

1.5.0

Returns whether BPF map is configured to auto-attach during BPF skeleton attach phase.

Definition

bool bpf_map__autoattach(const struct bpf_map *map);

Parameters

  • map: the BPF map instance

Return

true if map is set to auto-attach during skeleton attach phase; 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