[ltt-dev] [PATCH] tracepoints: Generate Module.tracepoints file

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Sep 22 22:53:32 EDT 2008


* Frank Ch. Eigler (fche at redhat.com) wrote:
> Jan Blunck <jblunck at suse.de> writes:
> 
> > This adds support to generate the Module.tracepoints file by modpost. This
> > can be read by tools like SystemTap very similar to the Module.markers file.
> > [...]
> 
> For systemtap, the problem with tracepoints is not so much knowing the
> list of them, but knowing how to dynamically interface to them.  In
> particular, the parameter type signatures are a problem because they
> can be general C type decls, which are hard just to parse.
> 

Why would you want to deal with tracepoints dynamically ? They are meant
to be fixed in-kernel API. when an in-kernel API changes, you just adapt
the code accordingly. Therefore, I don't see why you would try to follow
these changes "automatically" ?

To me, it makes as much sense as trying to follow EXPORT_SYMBOL*() or
any kernel API automatically.

And remember, tracepoints are meant to be few, well thought and not to
cange too often once things settle down.

OTOH, markers can be used as temporary debugging statements, which makes
it understandable to follow their changes dynamically.

Mathieu

> - FChE
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list