Skip to content

Libbpf userspace function btf__type_cnt

0.6.0

Get the amount of types in the BTF object.

Definition

__u32 btf__type_cnt(const struct btf *btf);

Parameters

  • btf: pointer to a struct btf object

Return

Return the amount of types in the BTF object.

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