Libbpf userspace function btf__resolve_size
Resolve the size of a BTF type.
Definition
__s64 btf__resolve_size(const struct btf *btf, __u32 type_id);
Parameters
btf
: pointer to astruct btf
objecttype_id
: ID of the BTF type
Return
Return the size of the BTF type in bytes on success, or a negative error code on failure.
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