Libbpf userspace function libbpf_bpf_attach_type_str
Converts the provided attach type value into a textual representation.
Definition
const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t);
Parameters
t
: The attach type.
Return
Pointer to a static string identifying the attach type. NULL
is returned for unknown bpf_attach_type
values.
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