Re: [PATCH v2] trace: Add x86 irq vector entry/exit tracepoints

From: Frederic Weisbecker
Date: Wed Jul 06 2011 - 20:51:36 EST


On Wed, Jul 06, 2011 at 05:30:18PM -0700, H. Peter Anvin wrote:
> > Trace events are irresponsible anyway because they involve that "ABI not really stable but tools
> > rely on it so...well...)". I'm not sure the above points make the situation worse though. Probably
> > the cases that fit in 2) need to be carefully checked to ensure they really fit in 2).
>
> Yes, it was much more of a generic concern. However, it is very
> important that people have a correct idea about what the stability of
> something like tracepoint is -- or we'll end up in a situation where we
> can never change the kernel because anything is suddenly "user space
> visible."

Agreed. Well the current situation is a best effort to keep trace events stable, but when
subsystems evolve, some trace events don't make any sense anymore, or some parameters need
to be changed or removed.

This break tools but OTOH those tools were measuring something that don't make sense anymore
with newer kernels. I guess we don't have the choice there.

But the situation is more scary when some tracepoints seem to have been badly designed and need
refactoring. I believe it was the case of power events. And now we are forced to maintain old
tracepoints that halfway make sense, just to avoid breaking old tools.

So yeah, we definetly need to care about new tracepoints coming. Especially as they touch generic
parts but archs are also to be considered.
--
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/