Expand description
Features derived from compile-time kernel configuration
The Linux kernel accepts an assortment of flags that can be enabled or disabled at compilation. These configuration flags are used to determine which eBPF features are eventually available on the running kernel.
Depending on your distribution, your kernel config can be available in a number of locations such as:
/proc/config.gz
/boot/config
/boot/config-$(uname -r)
This module will search for and read your kernel configuration for relevant
eBPF flags. If you believe a flag is missing or incorrectly added to
the set in KERNEL_CONFIG_KEYS
, please file an issue.
Structs§
- Kernel
Config - Primarily just a wrapper for kernel config values
Enums§
- Config
Value - Variant of possible config values (e.g.
y
,n
,m
etc.) - Kernel
Config Error - Possible errors when reading a kernel’s config file
Constants§
- KERNEL_
CONFIG_ KEYS - Entire set of kernel config flags to determine support of
Functions§
- features
- This module’s main function to read and determine support of kernel config flags