Re: [PATCH] tracing/markers: make markers select tracepoints

Theodore Tso
2009-02-23T22:42:05Z

On Mon, Feb 23, 2009 at 11:16:59PM +0100, Peter Zijlstra wrote:
>
> We're working on adding arguments to the function/graph tracer, it would
> fit all your above requirements and doesn't need any source modification
> to boot.

*Excellent*. I would love to have that funtionality. How do you plan
to make available complex data structures (i.e., suppose I want
inode->i_ino printed out)? I assume this will require writing some
"easy to generate" glue code that would presumably be some kind of
kernel module? That doesn't bother me (after all that's what
SystemTap does), as long as generation of the glue code can be largely
automated ---- so that you can take something approximately like a
DTrace or SystemTap script, and with some perl or python helper,
translate it into glue code that gets compiled into a kernel module.
Is something like that what you have in mind?

- Ted