Libbpf userspace function btf__align_of
Get the alignment of a type in the BTF object.
Definition
int btf__align_of(const struct btf *btf, __u32 id);
Parameters
btf
: pointer to astruct btf
objectid
: ID of the BTF type
Return
Return the alignment of the type 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