BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next] btf: Remove the dependency on BPF_SYSCALL
@ 2026-08-03  7:52 Thomas Weißschuh
  2026-08-03  8:11 ` sashiko-bot
  2026-08-03  8:59 ` Thomas Weißschuh
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Weißschuh @ 2026-08-03  7:52 UTC (permalink / raw)
  To: Andrew Morton, Alexei Starovoitov, Daniel Borkmann,
	Andrii Nakryiko, Eduard Zingerman
  Cc: linux-kernel, bpf, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
	Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
	Thomas Weißschuh

BTF has become useful without the BPF syscall being present.
It is used by debuggers and introspection tools like pahole.
The dependency prevents the usage of BTF without pulling in the
rest of the BPF subsystem.

Remove the dependency.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 lib/Kconfig.debug | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1244dcac2294..f9dc5b60d834 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -399,7 +399,6 @@ config DEBUG_INFO_BTF
 	bool "Generate BTF type information"
 	depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
 	depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
-	depends on BPF_SYSCALL
 	depends on PAHOLE_VERSION >= 122
 	# pahole uses elfutils, which does not have support for Hexagon relocations
 	depends on !HEXAGON

---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260731-btf-dep-bpf-syscall-210eaaf2b0cf

Best regards,
--  
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-03  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03  7:52 [PATCH bpf-next] btf: Remove the dependency on BPF_SYSCALL Thomas Weißschuh
2026-08-03  8:11 ` sashiko-bot
2026-08-03  8:59 ` Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox