[lkml]   [2009]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][GIT PULL] tracing: add function profiler

* Steven Rostedt <> wrote:

> > If you want exact function count profiling we could try to do
> > something perf counter based, eg. stick a software counter in
> > the mcount thingy.
> I'd like to get the function graph version working, in order to
> calculate the times spent in each funtion, then I can see how we
> can (if possible) convert it over to perf counters. :-/

the perf counters angle is definitely worth pursuing (for
completeness of the scheme Peter is working on), but please lets not
throw the baby out with the bath water: in-kernel histogram
collection has real value.

It's _much_ faster than any user-space counter-part, especially for
such things as branch tracing or function tracing.


 \ /
  Last update: 2009-03-21 17:29    [W:0.030 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site