btf
Type definitions in this namespace
Types
- Header
- All offsets are in bytes relative to the end of this header
- Kind
- For some kinds, Type is immediately followed by extra data
- IntInfo
- int kind is followed by this struct
- Enum
- enum kind is followed by this struct
- Enum64
- enum64 kind is followed by this struct
- Array
- array kind is followed by this struct
- Member
- struct and union kinds are followed by multiple Member structs.
- Param
- func_proto is followed by multiple Params, the exact number is stored in vlen
- Var
- var kind is followed by a single Var struct to describe additional
- VarSecInfo
- datasec kind is followed by multiple VarSecInfo to describe all Var kind
= 0xeb9f
Values
- magic
- = 0xeb9f
- version
- = 1
- max_type
- Max number of type identifiers
- max_name_offset
- Max offset into string section
- max_vlen
- Max number of struct/union/enum member of func args