# 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
Creates a new KernelSymbolTable that will be populated from /proc/kallsyms.
Creates a new KernelSymbolTable that will be populated from a reader.
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.
# 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).
KernelSymbol is a friendly representation of a kernel symbol.
No description provided by the author
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
No description provided by the author
No description provided by the author
No description provided by the author