Get desktop application:
View/edit binary Protocol Buffers messages
https://docs.kernel.org/bpf/btf.html#bpf-type-format-btf
List of Supported Types https://docs.kernel.org/bpf/btf.html#type-encoding
Used in:
btf_param struct for BTF kind function proto https://docs.kernel.org/bpf/btf.html#btf-kind-func-proto
Used in:
Type Encoding https://docs.kernel.org/bpf/btf.html#btf-kind-func-proto
Used in:
Specifies the offset in the string table
"info" bits arrangement - bits 0-15: vlen (e.g. # of struct's members) - bits 16-23: unused - bits 24-28: kind (e.g. int, ptr, array...etc) - bits 29-30: unused - bit 31: kind_flag, currently used by struct, union, fwd, enum and enum64. https://docs.kernel.org/bpf/btf.html#type-encoding
"size" is used by INT, ENUM, STRUCT, UNION and ENUM64. "size" tells the size of the type it is describing. "type" is used by PTR, TYPEDEF, VOLATILE, CONST, RESTRICT, FUNC, FUNC_PROTO, DECL_TAG and TYPE_TAG. "type" is a type_id referring to another type. https://docs.kernel.org/bpf/btf.html#type-encoding
For certain kinds, the common data are followed by kind-specific data. https://docs.kernel.org/bpf/btf.html#type-encoding
Used in:
(message has no fields)
https://docs.kernel.org/bpf/btf.html#bpf-prog-load:~:text=The%20func_info%20and%20line_info%20are%20an%20array%20of%20below%2C%20respectively.
Used in:
BTF func proto extra data https://docs.kernel.org/bpf/btf.html#btf-kind-func-proto
Used in:
The beginning of the BTF Data https://docs.kernel.org/bpf/btf.html#btf-type-and-string-encoding
Used in:
Indicates big- or little-endian target
offset of type section
length of type section
offset of string section
length of string section
BTF Kind int extra data https://docs.kernel.org/bpf/btf.html#btf-kind-int
Used in:
https://docs.kernel.org/bpf/btf.html#string-encoding
Used in:
BTF kind struct extra data https://docs.kernel.org/bpf/btf.html#btf-kind-struct
Used in:
Used in:
https://docs.kernel.org/bpf/btf.html#type-encoding
Used in: