Messages in this thread | | | Date | Thu, 6 Nov 2008 09:45:58 -0800 | From | Arjan van de Ven <> | Subject | Re: [PATCH] ftrace: add an fsync tracer |
| |
On Thu, 6 Nov 2008 10:34:50 -0500 (EST) Steven Rostedt <rostedt@goodmis.org> wrote: > > What I would like is a single "event tracer" that does all of this. > But add the ability to start and stop different events. We could start > with this tracer, and then add more events to this tracer. Have a > separate file to show which events are available. > > This will keep the 'available_tracers' file small, but it would be > fine if the 'events' file grew large.
well 2 ounces versus one liter ;)
what is the real need is 1) Have a trace point in the source 2) Associate a "formatting function" with that point (which basically transforms the trace parameters to, say, a string) 3) A way to turn the trace point on/off.
right now this is what the fsync tracer does, because it's the only way to do such a thing. I don't care how to otherwise do it ....
-- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |