Libbpf userspace function bpf_program__section_name
Get the ELF section name of a BPF program.
Definition
const char *bpf_program__section_name(const struct bpf_program *prog);
Parameters
prog
: The BPF program.
Returns
The name of the ELF section the program was opened from.
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