[PATCH 1/2] [AVR32] Include instrumentation menu - Kernel

This is a discussion on [PATCH 1/2] [AVR32] Include instrumentation menu - Kernel ; Remove KPROBES option from Kconfig.debug and include kernel/Kconfig.instrumentation. Signed-off-by: Haavard Skinnemoen --- arch/avr32/Kconfig | 2 ++ arch/avr32/Kconfig.debug | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index b77abce..bc08c7f 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig @@ -219,6 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [PATCH 1/2] [AVR32] Include instrumentation menu

  1. [PATCH 1/2] [AVR32] Include instrumentation menu

    Remove KPROBES option from Kconfig.debug and include
    kernel/Kconfig.instrumentation.

    Signed-off-by: Haavard Skinnemoen
    ---
    arch/avr32/Kconfig | 2 ++
    arch/avr32/Kconfig.debug | 10 ----------
    2 files changed, 2 insertions(+), 10 deletions(-)

    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
    --
    1.5.3.4

    --
    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/

  2. [PATCH] Fix AVR32 for instrumentation menu removal

    Quoting : Haavard Skinnemoen

    Mathieu, I want to get oprofile support queued up for 2.6.25, and
    since I don't see any signs that the Kconfig.instrumentation removal
    patches are going in any time soon, I'm going to turn things around
    and apply these two patches to my tree.

    This unfortunately means that your patch won't apply cleanly to -mm
    anymore, but it'll hopefully be easy to fix. When you do, please add
    ARCH_SUPPORTS_OPROFILE to arch/avr32/Kconfig as well.

    Me:

    This patch fixes the changes made by [PATCH 2/2] [AVR32] Oprofile support so the
    instrumentation removal patch applies correctly.

    Should be applied after "[PATCH 2/2] [AVR32] Oprofile support", but before the
    instrumentation menu removal patches.

    Signed-off-by: Mathieu Desnoyers
    CC: Haavard Skinnemoen
    CC: Andrew Morton
    ---
    kernel/Kconfig.instrumentation | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: linux-2.6-lttng/kernel/Kconfig.instrumentation
    ================================================== =================
    --- linux-2.6-lttng.orig/kernel/Kconfig.instrumentation 2007-12-03 16:52:42.000000000 -0500
    +++ linux-2.6-lttng/kernel/Kconfig.instrumentation 2007-12-03 16:52:54.000000000 -0500
    @@ -21,7 +21,7 @@ config PROFILING
    config OPROFILE
    tristate "OProfile system profiling (EXPERIMENTAL)"
    depends on PROFILING
    - depends on ALPHA || ARM || AVR32 || BLACKFIN || X86_32 || IA64 || M32R || MIPS || PARISC || PPC || S390 || SUPERH || SPARC || X86_64
    + depends on ALPHA || ARM || BLACKFIN || X86_32 || IA64 || M32R || MIPS || PARISC || PPC || S390 || SUPERH || SPARC || X86_64
    help
    OProfile is a profiling system capable of profiling the
    whole system, include the kernel, kernel modules, libraries,

    --
    Mathieu Desnoyers
    Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
    OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
    --
    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/

  3. [PATCH] AVR32 - Add HAVE_OPROFILE

    Should be applied after the
    "Add HAVE_KPROBES" patch.

    Signed-off-by: Mathieu Desnoyers
    CC: Haavard Skinnemoen
    CC: Andrew Morton
    ---
    arch/avr32/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    Index: linux-2.6-lttng/arch/avr32/Kconfig
    ================================================== =================
    --- linux-2.6-lttng.orig/arch/avr32/Kconfig 2007-12-03 16:55:43.000000000 -0500
    +++ linux-2.6-lttng/arch/avr32/Kconfig 2007-12-03 16:56:01.000000000 -0500
    @@ -12,6 +12,7 @@ config AVR32
    # that we usually don't need on AVR32.
    select EMBEDDED
    select HAVE_KPROBES
    + select HAVE_OPROFILE
    help
    AVR32 is a high-performance 32-bit RISC microprocessor core,
    designed for cost-sensitive embedded applications, with particular

    --
    Mathieu Desnoyers
    Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
    OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
    --
    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/

+ Reply to Thread