Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758232AbZF3VGR (ORCPT ); Tue, 30 Jun 2009 17:06:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757722AbZF3VFa (ORCPT ); Tue, 30 Jun 2009 17:05:30 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38797 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757612AbZF3VF2 (ORCPT ); Tue, 30 Jun 2009 17:05:28 -0400 From: Masami Hiramatsu Subject: [PATCH -tip 1/3] kprobes: fix kprobe selftest configuration dependency To: Ingo Molnar , Ananth N Mavinakayanahalli , lkml Cc: systemtap , DLE , Masami Hiramatsu , Ananth N Mavinakayanahalli , Ingo Molnar , Jim Keniston Date: Tue, 30 Jun 2009 17:08:03 -0400 Message-ID: <20090630210803.17851.73200.stgit@localhost.localdomain> In-Reply-To: <20090630210757.17851.409.stgit@localhost.localdomain> References: <20090630210757.17851.409.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1215 Lines: 41 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 Cc: Ananth N Mavinakayanahalli Cc: Ingo Molnar Cc: Jim Keniston --- lib/Kconfig.debug | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 80d6db7..741a860 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -740,6 +740,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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/