summaryrefslogtreecommitdiff
path: root/scripts/package-build/linux-kernel
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-04-27 15:33:40 +0200
committerGitHub <noreply@github.com>2026-04-27 15:33:40 +0200
commitd1bfa067311a6fdc992765b0bb8c8ff995e1104f (patch)
treeac5a5821da3d89859821c6fd6334bd77270dd76a /scripts/package-build/linux-kernel
parent8d13ffae3898c4b28d56fbfbf6c0b3afc137daac (diff)
parentae4bfe8b93f8d29e7b7973f09190ac45bd0e9a6e (diff)
downloadvyos-build-d1bfa067311a6fdc992765b0bb8c8ff995e1104f.tar.gz
vyos-build-d1bfa067311a6fdc992765b0bb8c8ff995e1104f.zip
Merge pull request #1170 from robinchrist/T8496-kconfig-for-pwru
linux-kernel: T8496: Add kernel config needed for PWRU
Diffstat (limited to 'scripts/package-build/linux-kernel')
-rw-r--r--scripts/package-build/linux-kernel/config/30-pwru.config20
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