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

# Packages

Package btf handles data encoded according to the BPF Type Format.
No description provided by the author
No description provided by the author

# Functions

BPF wraps SYS_BPF.
CString turns a NUL / zero terminated byte buffer into a string.
ErrorWithLog returns an error that includes logs from the kernel verifier.
FeatureTest wraps a function so that it is run at most once.
MustKernelVersion() return the current kernel version.
No description provided by the author
NewPointer creates a 64-bit pointer from an unsafe Pointer.
NewSlicePointer creates a 64-bit pointer from a byte slice.
NewStringPointer creates a 64-bit pointer from a string.
NewVersion creates a version from a string like "Major.Minor.Patch".
PossibleCPUs returns the max number of CPUs a system may possibly have Logical CPU numbers must be of the form 0-n.

# Variables

No description provided by the author
ErrNotSupported indicates that a feature is not supported by the current kernel.
NativeEndian is set to either binary.BigEndian or binary.LittleEndian, depending on the host's endianness.

# Structs

DiscardZeroes makes sure that all written bytes are zero before discarding them.
No description provided by the author
Pointer wraps an unsafe.Pointer to be 64bit to conform to the syscall specification.
UnsupportedFeatureError is returned by FeatureTest() functions.
VerifierError includes information from the eBPF verifier.

# Type aliases

A Version in the form Major.Minor.Patch.