Messages in this thread | | | Date | Thu, 10 Dec 2009 14:26:14 -0800 | From | Tim Bird <> | Subject | Re: [PATCH 2/4] ftrace - add function_duration tracer |
| |
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 =============================
| |