From: Andi Kleen Date: Thu, 03 Jan 2008 18:05:42 +0000 Subject: Re: [RFC PATCH 00/11] mcount tracing utility Message-Id: List-Id: References: <20080103071609.478486470@goodmis.org> In-Reply-To: <20080103071609.478486470@goodmis.org> (Steven Rostedt's message of "Thu\, 03 Jan 2008 02\:16\:09 -0500") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Steven Rostedt Cc: LKML , Ingo Molnar , Linus Torvalds , Andrew Morton , Peter Zijlstra , Christoph Hellwig , Mathieu Desnoyers , Gregory Haskins , Arnaldo Carvalho de Melo , "William L. Irwin" Steven Rostedt writes: > The following patch series brings to vanilla Linux a bit of the RT kernel > trace facility. This incorporates the "-pg" profiling option of gcc > that will call the "mcount" function for all functions called in > the kernel. My personal feeling regarding this code was that it would be much simpler/cleaner to implement a driver for the "jump tracer"s implemented in various CPUs. Basically the CPU will write all jumps into a buffer by itself. That allows you to do many traces (although not latency traces) too. -Andi