Re: Unified tracing buffer

From: KOSAKI Motohiro
Date: Sun Sep 21 2008 - 23:11:27 EST


> > > CONTROL
> > > -------
> > >
> > > Sysfs style tree under debugfs
> > >
> > > /debugfs/tracing/<name>/buffers/enabed <--- binary value
> > >
> > > /debugfs/tracing/<name>/<event1>
> > > /debugfs/tracing/<name>/<event2>
> > > etc ...
> >
> > I wonder if we should make this another sub dir:
> >
> > /debugfs/tracing/buffers/events/<event-name>
> >
>
> Sure.
>
> If needed, we could change the markers to take two separate parameters :
>
> trace_mark(tracer_name, event_name, "format", args)

Sorry, disagreed.

I believe any marker point should be independent to tracer.
Otherwise, number of trace_mark() will blow up easily.



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