Patchwork [1/2] powerpc: Disable mcount tracers in pseries config

login
register
mail settings
Submitter Anton Blanchard
Date Jan. 12, 2011, 12:12 p.m.
Message ID <20110112231243.71c71291@kryten>
Download mbox | patch
Permalink /patch/78552/
State Accepted, archived
Commit 7d2dcd046d259d309b4e0da387a53660a8f146ad
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Anton Blanchard - Jan. 12, 2011, 12:12 p.m.
IRQSOFF_TRACER and STACK_TRACER force the kernel to be built with -pg
which is a substantial overhead.
 
Signed-off-by: Anton Blanchard <anton@samba.org> 
---

Patch

Index: powerpc.git/arch/powerpc/configs/pseries_defconfig
===================================================================
--- powerpc.git.orig/arch/powerpc/configs/pseries_defconfig	2011-01-11 14:34:38.890639046 +1100
+++ powerpc.git/arch/powerpc/configs/pseries_defconfig	2011-01-12 23:06:28.770355258 +1100
@@ -311,9 +311,7 @@  CONFIG_DEBUG_KERNEL=y
 # CONFIG_RCU_CPU_STALL_DETECTOR is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_IRQSOFF_TRACER=y
 CONFIG_SCHED_TRACER=y
-CONFIG_STACK_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_DEBUG_STACKOVERFLOW=y
 CONFIG_DEBUG_STACK_USAGE=y