package
0.0.0-20220301203322-3fc9ab3b8daf
Repository: https://github.com/datadog/ebpf.git
Documentation: pkg.go.dev

# Functions

LoadSpecFromReader reads BTF sections from an ELF.
MapKey should be a method on Map, but is a free function to hide it from users of the ebpf package.
MapSpec should be a method on Map, but is a free function to hide it from users of the ebpf package.
MapValue should be a method on Map, but is a free function to hide it from users of the ebpf package.
NewHandle loads BTF into the kernel.
ProgramAppend the information from other to the Program.
ProgramFuncInfos returns the binary form of BTF function infos.
ProgramLineInfos returns the binary form of BTF line infos.
ProgramSpec returns the Spec needed for loading function and line infos into the kernel.
Sizeof returns the size of a type in bytes.

# Variables

Errors returned by BTF functions.

# Structs

Array is an array with a fixed number of elements.
Const is a modifier.
Datasec is a global program section containing data.
Enum lists possible values.
Func is a function definition.
FuncProto is a function declaration.
Fwd is a forward declaration of a Type.
Handle is a reference to BTF loaded into the kernel.
Int is an integer of a given length.
Map is the BTF for a map.
Member is part of a Struct or Union.
Pointer is a pointer to another type.
Program is the BTF information for a stream of instructions.
Restrict is a modifier.
Spec represents decoded BTF.
Struct is a compound type of consecutive members.
Typedef is an alias of a Type.
Union is a compound type where members occupy the same memory.
Var is a global variable.
VarSecinfo describes variable in a Datasec.
Void is the unit type of BTF.
Volatile is a modifier.

# Interfaces

Type represents a type described by BTF.

# Type aliases

Name identifies a type.
TypeID identifies a type in a BTF section.