Re: [PATCH 2/4] ftrace - add function_duration tracer

From: Tim Bird
Date: Thu Dec 10 2009 - 17:27:05 EST


Steven Rostedt wrote:
> On Thu, 2009-12-10 at 13:13 -0800, Tim Bird wrote:
>> I have some patches ...
>> to make it possible to use arbitrary ftrace plugins
>> at boot time. (There are issues with the current code for
>> anything other than the bootgraph plugin).
>
> We already have a way to enable arbitrary ftrace plugins at boot time:
>
> Try ftrace=function on the command line.

That's what I'm using, but my function_duration tracer didn't
work, because of an issue initializing the trace-option files.
The problem was that the debugfs wasn't initialized yet.
I worked up a simple fix to defer initializing the
trace-option files in debugfs until later in the boot
sequence.

Maybe you've already fixed this. I'll check out the
latest code and see if I still have problems with it.
If so, I'll send the patches (which are quite small)
for consideration.
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/