Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758211AbYBERMs (ORCPT ); Tue, 5 Feb 2008 12:12:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752451AbYBERMk (ORCPT ); Tue, 5 Feb 2008 12:12:40 -0500 Received: from outbound-va3.frontbridge.com ([216.32.180.16]:35616 "EHLO outbound1-va3-R.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbYBERMi (ORCPT ); Tue, 5 Feb 2008 12:12:38 -0500 X-BigFish: VP X-MS-Exchange-Organization-Antispam-Report: OrigIP: 160.33.98.75;Service: EHS Message-ID: <47A89704.9000504@am.sony.com> Date: Tue, 05 Feb 2008 09:04:04 -0800 From: Tim Bird User-Agent: Thunderbird 2.0.0.6 (X11/20070926) MIME-Version: 1.0 To: Steven Rostedt CC: LKML , Ingo Molnar , Linus Torvalds , Andrew Morton , Peter Zijlstra , Christoph Hellwig , Mathieu Desnoyers , Gregory Haskins , Arnaldo Carvalho de Melo , Thomas Gleixner , Sam Ravnborg , "Frank Ch. Eigler" , Jan Kiszka , John Stultz , Arjan van de Ven , Steven Rostedt Subject: Re: [PATCH 14/23 -v8] Add tracing of context switches References: <20080130210357.927754294@goodmis.org> <20080130210527.028868510@goodmis.org> In-Reply-To: <20080130210527.028868510@goodmis.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Feb 2008 17:07:50.0879 (UTC) FILETIME=[A3A156F0:01C86819] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1444 Lines: 44 Steven Rostedt wrote: > Index: linux-mcount.git/lib/tracing/Kconfig > =================================================================== > --- linux-mcount.git.orig/lib/tracing/Kconfig 2008-01-30 15:18:18.000000000 -0500 > +++ linux-mcount.git/lib/tracing/Kconfig 2008-01-30 15:32:33.000000000 -0500 > @@ -23,3 +23,12 @@ config FUNCTION_TRACER > insert a call to an architecture specific __mcount routine, > that the debugging mechanism using this facility will hook by > providing a set of inline routines. > + > +config CONTEXT_SWITCH_TRACER > + bool "Trace process context switches" > + depends on DEBUG_KERNEL > + select TRACING > + help > + This tracer hooks into the context switch and records > + all switching of tasks. > + This needs a "select MARKERS" or it doesn't compile. My config has: CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_TRACE_IRQFLAGS=y CONFIG_TRACER_MAX_TRACE=y CONFIG_FUNCTION_TRACER=y # CONFIG_EVENT_TRACER is not set # CONFIG_WAKEUP_TRACER is not set CONFIG_CONTEXT_SWITCH_TRACER=y -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Corporation of America ============================= -- 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/