Re: [RFC] perf/x86/intel: Disable check_msr for real hw

From: Andi Kleen
Date: Mon Jun 24 2019 - 14:38:09 EST


> Tom, plz correctme if I'm wrongm but AFAIK because the LBR tracing is
> enabled during the boot the lbr_from/lbr_to registers will fail the
> check_msr 'val_new != val_tmp' check

Ok this should be handleable. It should be enough to check
the ctrl register, if that working likely we don't need
to check the data registers which might be changing.

-Andi