Skip to content

Libbpf userspace function bpf_program__name

0.0.7

Get the name of a BPF program.

Definition

const char *bpf_program__name(const struct bpf_program *prog);

Parameters

  • prog: The BPF program.

Returns

The name of the BPF program.

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