| Subject | Re: [RFC PATCH 00/11] mcount tracing utility | From | Andi Kleen <> | Date | Thu, 03 Jan 2008 19:05:42 +0100 |
| |
Steven Rostedt <rostedt@goodmis.org> 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
|