package
0.0.0-20240905143127-425c00369790
Repository: https://github.com/khulnasoft/tracker.git
Documentation: pkg.go.dev

# Functions

CompareKernelRelease will compare two given kernel version/release strings and returns a KernelVersionComparison constant that shows the relationship of the given kernel version to the base.
No description provided by the author
No description provided by the author
GetMEMAmountInMBs reads meminfo file and returns MemTotal in megabytes.
GetOSInfo creates a OSInfo object and runs discoverOSDistro() on its creation.
InitKernelConfig inits external KernelConfig object.
No description provided by the author
NewKernelSymbolTable initializes a KernelSymbolTable with optional configuration functions.
OSBTFEnabled checks if kernel has embedded BTF vmlinux file.
UnameMachine gets the version string of host's architecture.
UnameRelease gets the version string of the current running kernel.
WithRequiredAddresses sets the required addresses for the KernelSymbolTable.
WithRequiredSymbols sets the required symbols for the KernelSymbolTable.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
not part of default os-release:.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

KernelConfig is a set of kernel configuration options (currently for running OS only).
No description provided by the author
KernelSymbolTable manages kernel symbols with multiple maps for fast lookup.
OSInfo object contains all OS relevant information OSRelease is relevant to examples such as: 1) OSInfo.OSReleaseInfo[helpers.OS_KERNEL_RELEASE] => will provide $(uname -r) string 2) if OSInfo.GetReleaseID() == helpers.UBUNTU => {} will allow running code in specific distribution.

# Type aliases

KernelConfigOption is an abstraction of the key in key=value syntax of the kernel config file.
KernelConfigOptionValue is an abstraction of the value in key=value syntax of kernel config file.
No description provided by the author
KSymbTableOption defines a function signature for configuration options.
No description provided by the author
No description provided by the author
No description provided by the author