Re: [RFC] simple dprobe like markers for the kernel
From: Frank Ch. Eigler
Date: Thu Jul 10 2008 - 14:20:37 EST
Hi -
On Thu, Jul 10, 2008 at 11:30:17AM -0400, Theodore Tso wrote:
> [...] When you said a tool could determine if the tracepoint had
> gotten optimized away, or the variables were no longer present, I
> assume you meant at compile time, right? So with the right tool
> built into the kbuild infrastructure, if we could simply print
> warnings when tracepoints had gotten optimized away [...]
It will be interesting to see how frequently such a warning appears
for a good suite of such mini markers, on a diversity of architectures
and compilers. Such data can help pronounce judgement on this approach.
> P.S. When you said that the current kernel markers are "a bit
> heavyweight", how bad are they in practice? Hundreds of cycles? More?
Good question. The only performance measurements I have seen posted
indicate negligible effects.
- FChE
--
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/