Re: [RFC PATCH 00/11] mcount tracing utility

2008-01-08 Thread Tim Bird
Steven Rostedt wrote: > 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. > > This patch series implements the code for x86

Re: [RFC PATCH 00/11] mcount tracing utility

2008-01-03 Thread Frank Ch. Eigler
Steven Rostedt <[EMAIL PROTECTED]> 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. > [...] > [Future:] SystemTa

Re: [RFC PATCH 00/11] mcount tracing utility

2008-01-03 Thread Andi Kleen
Steven Rostedt <[EMAIL PROTECTED]> 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 regardi

Re: [RFC PATCH 00/11] mcount tracing utility

2008-01-03 Thread Steven Rostedt
On Thu, 3 Jan 2008, Mathieu Desnoyers wrote: > Hi Steven, > > Great work! Thanks! > > (added Tim Bird, author of KFT/KFI to the CC list) I'm currently investigating using -finstrument-functions instead of -pg, but if the overhead is too much, I may try to incorporate both. > > One interesting

Re: [RFC PATCH 00/11] mcount tracing utility

2008-01-03 Thread Mathieu Desnoyers
Hi Steven, Great work! (added Tim Bird, author of KFT/KFI to the CC list) * Steven Rostedt ([EMAIL PROTECTED]) wrote: > ... > > Future: > --- > The way the mcount hook is done here, other utilities can easily add their > own functions. Just care needs to be made not to call anything that is

[RFC PATCH 00/11] mcount tracing utility

2008-01-02 Thread Steven Rostedt
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. This patch series implements the code for x86 (32 and 64 bit), but other archs