Messages in this thread | | | Subject | Re: [PATCH 2/3] perf trace: Update eval_flag() flags array to match interrupt.h | From | Steven Rostedt <> | Date | Tue, 06 Oct 2009 21:17:27 -0400 |
| |
On Tue, 2009-10-06 at 23:42 +0200, Frederic Weisbecker wrote: > On Tue, Oct 06, 2009 at 11:24:19AM -0400, Christoph Hellwig wrote: > > On Tue, Oct 06, 2009 at 05:22:58PM +0200, Frederic Weisbecker wrote: > > > I see... > > > Then the only solution I can imagine is to export a debugfs file > > > in the tracing directory that provides this name resolution. > > > > The format files kinda contain that information, just not in a very > > useful format. I think the general problem is that the formats exported > > aren't descriptive enough, and fields/flags are just one symptom of > > that. > > > Well, Steve has posted a whole rewrite of the format files some months ago, > I don't know what's the status of this work. One of the problems is that we > know have tools that support the current format. >
Yeah, but that new format was just begging for a NAK. No one wants a new format layout. They want C code. But unfortunately, when we use enums for flags and such, the macros have no idea how to handle it. I may try to work out a way to let those same macros be able to export the value with the enum name.
I'll try to figure out something.
-- Steve
| |