Libbpf userspace function bpf_program__get_expected_attach_type
Definition
enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
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