Re: tracepoint maintainance models

From: Ingo Molnar
Date: Mon Sep 18 2006 - 01:24:29 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> The following example voids your example : there are ways to implement
> static markers that *could* have access to those variables.
> (implementation detail)
>
> int x = 5;
>
> #define MARK(a) printk(a, x)

but this is only hiding it syntactically, hence the same
parameter-access side-effect remains - while in the dynamic probe case
the variable is accessed within the probe - so the true effect on the
callsite is different. But, in terms of having access to the
information, you (and Karim) are right that the static tracer can access
it too.

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/