Libbpf userspace function btf__add_str
Add a string s to the BTF string section.
Definition
int btf__add_str(struct btf *btf, const char *s);
Parameters
btf
: pointer to astruct btf
objects
: string to add
Return
> 0
offset into string section, on success; < 0
, on error.
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