Documentation
¶
Overview ¶
Package btfgen provides a way to load BTF information generated with btfgen. Files to be incluided into the binary have to be generated with BTFGen (make btfgen on the root) before compiling the binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBTFSpec ¶
GetBTFSpec returns the BTF spec with kernel information for the current kernel version. If the kernel exposes BTF information or if the BTF for this kernel is not found, it returns nil.
Types ¶
Click to show internal directories.
Click to hide internal directories.