Re: [PATCH V2 2/3] perf protect LBR when Intel PT is enabled.

From: Peter Zijlstra
Date: Thu Jul 03 2014 - 13:07:25 EST


On Thu, Jul 03, 2014 at 05:52:37PM +0200, Andi Kleen wrote:
> > If there's active LBR users out there, we should refuse to enable PT and
> > vice versa.
>
> This doesn't work, e.g. hardware debuggers can take over at any time.

Tough cookies. Hardware debuggers get to deal with whatever crap they
cause.

Attachment: pgpkOQ5bprECe.pgp
Description: PGP signature