diff options
author | Kan Liang <[email protected]> | 2022-06-29 08:08:40 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-07-04 09:23:09 +0200 |
commit | ccf170e9d8fdacfe435bbe3749c897c7d86d32f8 (patch) | |
tree | 45c71b3ce764622ed8a5c2099c48fd8d9ea84aa8 /lib/mpi/mpi-cmp.c | |
parent | 39a41278f041e4b7ee6c83caefac845c9b19fc61 (diff) |
perf/x86/intel: Fix PEBS data source encoding for ADL
The PEBS data source encoding for the e-core is different from the
p-core.
Add the pebs_data_source[] in the struct x86_hybrid_pmu to store the
data source encoding for each type of the core.
Add intel_pmu_pebs_data_source_grt() for the e-core.
There is nothing changed for the data source encoding of the p-core,
which still reuse the intel_pmu_pebs_data_source_skl().
Fixes: f83d2f91d259 ("perf/x86/intel: Add Alder Lake Hybrid support")
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions