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

From: Frederic Weisbecker
Date: Wed Jul 06 2011 - 19:56:26 EST


On Wed, Jul 06, 2011 at 04:43:23PM -0700, H. Peter Anvin wrote:
> On 06/15/2011 08:02 PM, Frederic Weisbecker wrote:
> >
> > If a generic tracepoint can replace one per arch, we all want that instead.
> > This is 24 times (24 archs) less maintainance burden.
> >
>
> Are you in effect saying that tracepoints are now a stable ABI? They
> sure as hell haven't been architected, reviewed, or accepted for any
> such purpose.

Nope, I'm rather suggesting that it's better to have 1 line of code instead of 24.

And even if tracepoints are not supposed to be stable ABI (I actually believe there
is no absolute answer to that, it depends on the tracepoint and on the context),
tools are much happier with a common tracepoint interface amongst archs.
--
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/