Re: [PATCH 00/11] [GIT PULL] more updates for the tag format

From: Steven Rostedt
Date: Wed Jun 10 2009 - 11:21:22 EST



On Wed, 10 Jun 2009, Mathieu Desnoyers wrote:
> >
> >
> > And then in the trace format, we could do:
> >
> > <data:gfp:field>
> >
> > And the 'data' will flag us to how to print the data.
> >
> > For userland, there could be a file in:
> >
> > /debug/tracing/events/data_types/gfp/format
> >
> > That will show that format. Yes we duplicate some of the code, but it
> > it would solve these types of issues.
> >
>
> It sounds a lot like the type tables LTTng is currently exporting
> through specific channels. One for the list of IRQ handlers, one listing
> softirqs, one for syscalls.... etc etc. The nice side of this approach
> is that it permits to deal with dynamic events that modify the table
> state while tracing is active, e.g. : loadling a module which adds an
> IRQ handlers.
>
> This is planned to be used for enum description eventually.

Well, I wouldn't make it dependent on any class, just a generic type to
add that any user could do. The types just need to be added before the
events are registered.

-- Steve

--
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/