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

From: Ingo Molnar
Date: Fri Sep 15 2006 - 18:52:52 EST



* Karim Yaghmour <karim@xxxxxxxxxxx> 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
-
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/