| skipped 6 lines |
7 | 7 | | * with BPF LSM support (kernels >= 5.7) |
8 | 8 | | |
9 | 9 | | You can check if your kernel has BTF support by checking whether file |
10 | | - | `/sys/kernel/btf/vmlinux` exists. You can also check the kernel configuration: |
| 10 | + | `/sys/kernel/btf/vmlinux` exists. |
| 11 | + | |
| 12 | + | You can also check the kernel configuration. Note that location of this configuration is distribution specific. |
| 13 | + | |
| 14 | + | SUSE: |
11 | 15 | | |
12 | 16 | | ```bash |
13 | 17 | | $ zgrep CONFIG_DEBUG_INFO_BTF /proc/config.gz |
| 18 | + | CONFIG_DEBUG_INFO_BTF=y |
| 19 | + | ``` |
| 20 | + | |
| 21 | + | Ubuntu: |
| 22 | + | ```bash |
| 23 | + | $ zgrep CONFIG_DEBUG_INFO_BTF /boot/config-"$(uname -r)" |
14 | 24 | | CONFIG_DEBUG_INFO_BTF=y |
15 | 25 | | ``` |
16 | 26 | | |
| skipped 75 lines |