Libbpf userspace function btf__str_by_offset
Return the name of a BTF type by its offset. Alias of btf__name_by_offset
.
Definition
const char *btf__str_by_offset(const struct btf *btf, __u32 offset);
Parameters
btf
: BTF objectoffset
: Offset of the type
Return
A const
pointer to the name of the type.
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