Libbpf userspace function bpf_program__get_expected_attach_type
This function was renamed to bpf_program__expected_attach_type
.
Definition
enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
Usage
This function is an alias of bpf_program__expected_attach_type
as of v0.7.0.
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome