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

From: Andi Kleen
Date: Thu Jul 03 2014 - 11:52:46 EST


> 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.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/