diff options
Diffstat (limited to 'scripts')
| -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 |
