Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108

Christoph Hellwig
2006-09-19T12:05:49Z

On Thu, Sep 14, 2006 at 04:46:21PM -0400, Karim Yaghmour wrote:
> Ideally, though, markers should be self-contained. IOW, the person
> implementing such a marker should not need to edit any other file
> that the one being worked on to add an instrumentation point --
> at least that's the way I think is easiest. What this means is that
> you would be able to add an instrumentation point in the kernel,
> build it, run the tracing and view the trace with your new event
> without any further intervention on any tool, header, or anything
> else.

Just in case my first mail on this subject wasn't clear enough I
completely agree with that statement. complex traces detaches from
the actual sourcecode are an uteer maintaince nightmare and should
be avoided for anything but spontanous debugging. For that case they
are of course imensely useful. Thus we need two forms to specify
probes, and to not make the tracing an utter mess they need to share
as much infrastructure as possible.