btfgen

package module
v0.0.0-...-fa369ca Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

btfgen

一个产生btf的工具,方便集成各种linux发现版本的各种内核版本的btf文件。

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HostRoot   string
	HostProcFs string
)

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