Re: [PATCH] x86, perf, bts: disable BTS from Nehalem to Ivy Bridge

From: Ingo Molnar
Date: Thu Jan 24 2013 - 10:46:31 EST



* markus.t.metzger@xxxxxxxxx <markus.t.metzger@xxxxxxxxx> wrote:

> From: Markus Metzger <markus.t.metzger@xxxxxxxxx>
>
> Starting with Nehalem, the BTS "from" information may in some cases be
> incorrect (AAJ122).
>
> This has been detected while adding branch tracing support to gdb, where it
> results in sporadic test fails.
>
> Disable BTS support on Nehalem, Westmere, Sandy Bridge, and Ivy Bridge.

But the failures are rare, so the BTS data is still correct
statistically, by and large, right? So why not just keep it
as-is and teach tooling to be more robust about implausible
trace entries? It has to be ready for that eventuality *anyway*.

Thanks,

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/