public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUGFIX][ PATCH] kprobes: fix kprobe selftest configuration dependency
@ 2009-06-22 21:03 Masami Hiramatsu
  2009-06-30 21:38 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Masami Hiramatsu @ 2009-06-22 21:03 UTC (permalink / raw)
  To: Linus Torvalds, Ananth N Mavinakayanahalli, lkml
  Cc: Masami Hiramatsu, Ananth N Mavinakayanahalli

Select CONFIG_KALLSYMS_ALL when CONFIG_KPROBES_SANITY_TEST=y.
Kprobe selftest always fail without CONFIG_KALLSYMS_ALL=y, because
kallsyms doesn't list up the target functions which are probed in this
test.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---

 lib/Kconfig.debug |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 23067ab..661c675 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -727,6 +727,7 @@ config KPROBES_SANITY_TEST
 	bool "Kprobes sanity tests"
 	depends on DEBUG_KERNEL
 	depends on KPROBES
+	select KALLSYMS_ALL
 	default n
 	help
 	  This option provides for testing basic kprobes functionality on


-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com

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

end of thread, other threads:[~2009-07-01 12:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 21:03 [BUGFIX][ PATCH] kprobes: fix kprobe selftest configuration dependency Masami Hiramatsu
2009-06-30 21:38 ` Andrew Morton
2009-06-30 21:41   ` Linus Torvalds
2009-06-30 22:11     ` Masami Hiramatsu
2009-06-30 23:19       ` Masami Hiramatsu
2009-06-30 23:23         ` Ingo Molnar
2009-06-30 23:48           ` Masami Hiramatsu
2009-07-01  0:09             ` Masami Hiramatsu
2009-07-01  8:43               ` Ingo Molnar
2009-07-01 12:02                 ` Masami Hiramatsu

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