btfgen

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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

func GetBTFSpec() *btf.Spec

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

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL