[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1280399185-sup-1032@au1.ibm.com>
Date: Thu, 29 Jul 2010 20:30:32 +1000
From: Ian Munsie <imunsie@....ibm.com>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] ftrace: record command lines at more appropriate moment
Excerpts from Frederic Weisbecker's message of Thu Jul 29 11:58:34 +1000 2010:
> In fact I don't really understand what is this tp_benchmark function, when and
> where is it called?
The idea was just to replace a single tracepoint with a call to a
separate function (who's sole action was to call the tracepoint) so that
the ftrace function profiler could profile that function and provide
average timing data for the function call + tracepoint, i.e. like:
noinline void tp_benchmark(...)
{
trace_...
}
Mostly just laziness on my part really.
> But anyway, I'll rather comment the idea on the patch.
Cheers,
-Ian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists