diff options
| author | Robin Christ <r.christ@partimus.com> | 2026-04-27 13:37:18 +0200 |
|---|---|---|
| committer | Robin Christ <r.christ@partimus.com> | 2026-04-27 13:37:18 +0200 |
| commit | ae4bfe8b93f8d29e7b7973f09190ac45bd0e9a6e (patch) | |
| tree | ac5a5821da3d89859821c6fd6334bd77270dd76a /scripts/package-build/linux-kernel | |
| parent | 8d13ffae3898c4b28d56fbfbf6c0b3afc137daac (diff) | |
| download | vyos-build-ae4bfe8b93f8d29e7b7973f09190ac45bd0e9a6e.tar.gz vyos-build-ae4bfe8b93f8d29e7b7973f09190ac45bd0e9a6e.zip | |
linux-kernel: T8496: Add kernel config needed for PWRU
PWRU (https://github.com/cilium/pwru) is a very useful tool to debug complex networking issues on Linux, as it allows you to trace how packets travel through the kernel functions
Diffstat (limited to 'scripts/package-build/linux-kernel')
| -rw-r--r-- | scripts/package-build/linux-kernel/config/30-pwru.config | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/package-build/linux-kernel/config/30-pwru.config b/scripts/package-build/linux-kernel/config/30-pwru.config new file mode 100644 index 00000000..87e20fd5 --- /dev/null +++ b/scripts/package-build/linux-kernel/config/30-pwru.config @@ -0,0 +1,20 @@ +# Prerequisites for the PWRU (https://github.com/cilium/pwru) flags + +# Explicitly need to disable / remove this value from defconfig +# "... is not set" will remove from the config and not throw an error compared to +# "... = n" +# CONFIG_DEBUG_INFO_NONE is not set + +# Explicitly need to enable debug info +CONFIG_DEBUG_INFO=y +# let the toolchain decide DWARF4 vs DWARF5 +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y + +# PWRU flags copied directly from PWRU readme +CONFIG_DEBUG_INFO_BTF=y +CONFIG_KPROBES=y +CONFIG_PERF_EVENTS=y +CONFIG_BPF=y +CONFIG_BPF_SYSCALL=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FPROBE=y |
