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

Ingo Molnar
2006-09-15T22:52:32Z

* Karim Yaghmour <karim@opersys.com> wrote:

> Ingo Molnar wrote:
> > that is not true at all. Yes, an INT3 based kprobe might be expensive if
> > +0.5 usecs per tracepoint (on a 1GHz CPU) is an issue to you - but that
> > is "only" an implementation detail, not a conceptual property.
> > Especially considering that help (djprobes) is on the way. And in the
>
> djprobes has been "on the way" for some time now. Why don't you at
> least have the intellectual honesty to use the same rules you've
> repeatedly used against ltt elsewhere in this thread -- i.e. what it
> does today is what it is, and what it does today isn't worth bragging
> about. [...]

i actually think djprobes are pretty darn inventive. I also think that
the tracebuffer management portion of LTT is better than the hacks in
SystemTap, and that LTT's visualization tools are better (for example
they do exist :-) - so clearly there's synergy possible. But i have no
faith at all, for the many reasons outlined before, in the concept of
static tracing, because i see no possible future path out of its many
limitations and because i see no possible future way to get rid of their
dependencies. So i'd rather wait some time for dynamic tracers to
outgrow static tracers in even the last final area, than let static
tracing into the kernel - which would add dependencies that we'd have to
live with almost until eternity.

> But, sarcasm aside, even if this mechanism existed it still wouldn't
> resolve the need for static markup. It would just make djprobe a
> likelier candidate for tools that cannot currently rely on kprobes.

it would clearly reduce the number of places where static markup would
still be necessary. With static tracers i see no such mechanism that
gradually moves the markups out of the kernel.

> > NOTE: i still accept the temporary (or non-temporary) introduction
> > of static markers, to help dynamic tracing. But my expectation is
> > that these markers will be less intrusive than static tracepoints,
> > and a lot more flexible.
>
> Chalk one up for nice endorsement and another for arbitrary
> distinction.

So you dispute that markups for dynamic tracing will be more flexible
and you dispute that they will be less intrusive than markups for static
tracing?

Ingo