[ltt-dev] [PATCH 1/2] Fix LTTng Kprobes support when modules are disabled

Benjamin Poirier benjamin.poirier at polymtl.ca
Wed Jun 24 11:07:19 EDT 2009


Change some Kconfig dependencies to allow the kernel to build when LTTng is
enabled and module support is not. Without this patch, the kernel build breaks
because LTT_KPROBES selects KPROBES but the latter depends on module support.

Signed-off-by: Benjamin Poirier <benjamin.poirier at polytml.ca>
---
 ltt/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ltt/Kconfig b/ltt/Kconfig
index dc85246..eec424c 100644
--- a/ltt/Kconfig
+++ b/ltt/Kconfig
@@ -183,12 +183,10 @@ config LTT_STATEDUMP
 
 config LTT_KPROBES
 	tristate "Linux Trace Toolkit Kprobes Support"
-	depends on HAVE_KPROBES
 	depends on LTT_TRACE_CONTROL
 	depends on LTT_FAST_SERIALIZE
 	depends on LTT_STATEDUMP
-	select KPROBES
-	select KALLSYMS
+	depends on KPROBES
 	default y
 	help
 	  Allows connecting the LTTng tracer on kprobes using simple debugfs
-- 
1.6.3.1






More information about the lttng-dev mailing list