lkml.org 
[lkml]   [2009]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/11] [GIT PULL] more updates for the tag format

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



\
 
 \ /
  Last update: 2009-06-10 17:25    [W:0.167 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site