x86/pmu: Fix printed messages for emulated instruction test
This test case uses MSR_IA32_PERFCTR0 to count branch instructions and PERFCTR1 to count instruction events. The same correspondence should be maintained at report(), specifically this should use status bit 1 for instructions and bit 0 for branches. Fixes: 20cf9147 ("x86/pmu: Test PMU virtualization on emulated instructions") Reported-by:Sandipan Das <sandipan.das@amd.com> Signed-off-by:
Like Xu <likexu@tencent.com> Signed-off-by:
Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20221102225110.3023543-6-seanjc@google.com
Loading
Please register or sign in to comment