login
Header Space

 
 

Re: [patch 03/26] Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: <akpm@...>, Ingo Molnar <mingo@...>, <linux-kernel@...>, Mathieu Desnoyers <mathieu.desnoyers@...>, Linus Torvalds <torvalds@...>, Sam Ravnborg <sam@...>
Date: Thursday, January 24, 2008 - 7:05 pm

On Thu, 24 Jan 2008 15:27:09 -0500 Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:

Hmm. In preparation for oprofile, I currently have the below in my avr32
tree (i.e. -mm). What's the best way to deal with that?

I intend to push this early once the merge window opens. Could you just
remove the instrumentation menu from avr32 as well in your patch? It
should still apply nicely to -mm.

Haavard

commit 5ad893c907a645def629bbdab3a1c114f619bf1c
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
Date:   Wed Oct 31 15:22:34 2007 +0100

    [AVR32] Include instrumentation menu
    
    Remove KPROBES option from Kconfig.debug and include
    kernel/Kconfig.instrumentation.
    
    Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index b77abce..bc08c7f 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -219,6 +219,8 @@ source "drivers/Kconfig"
 
 source "fs/Kconfig"
 
+source "kernel/Kconfig.instrumentation"
+
 source "arch/avr32/Kconfig.debug"
 
 source "security/Kconfig"
diff --git a/arch/avr32/Kconfig.debug b/arch/avr32/Kconfig.debug
index 64ace00..2283933 100644
--- a/arch/avr32/Kconfig.debug
+++ b/arch/avr32/Kconfig.debug
@@ -6,14 +6,4 @@ config TRACE_IRQFLAGS_SUPPORT
 
 source "lib/Kconfig.debug"
 
-config KPROBES
-	bool "Kprobes"
-	depends on DEBUG_KERNEL
-	help
-	  Kprobes allows you to trap at almost any kernel address and
-          execute a callback function.  register_kprobe() establishes
-          a probepoint and specifies the callback.  Kprobes is useful
-          for kernel debugging, non-intrusive instrumentation and testing.
-          If in doubt, say "N".
-
 endmenu
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 03/26] Move Kconfig.instrumentation to arch/Kconfig a..., Mathieu Desnoyers, (Thu Jan 24, 4:27 pm)
Re: [patch 03/26] Move Kconfig.instrumentation to arch/Kconf..., Haavard Skinnemoen, (Thu Jan 24, 7:05 pm)
Re: [patch 03/26] Move Kconfig.instrumentation to arch/Kconf..., Mathieu Desnoyers, (Thu Jan 24, 6:03 pm)
Re: [patch 03/26] Move Kconfig.instrumentation to arch/Kconf..., Mathieu Desnoyers, (Thu Jan 24, 5:05 pm)
speck-geostationary