diff options
author | Dapeng Mi <[email protected]> | 2024-08-20 07:38:52 +0000 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-10-07 09:28:43 +0200 |
commit | 9f4a39757c81d532f64232702537c53ad4092a5e (patch) | |
tree | 7c84da60e4e5b7a70e8e31bea575a023fb4580f5 /tools/perf/scripts/python/task-analyzer.py | |
parent | 2eb2802a41a222bf8d78a88f193ce665071c869e (diff) |
perf/x86/intel: Support hybrid PMU with multiple atom uarchs
The upcoming ARL-H hybrid processor contains 2 different atom uarchs
which have different PMU capabilities. To distinguish these atom uarchs,
CPUID.1AH.EAX[23:0] defines a native model ID which can be used to
uniquely identify the uarch of the core by combining with core type.
Thus a 3rd hybrid pmu type "hybrid_tiny" is defined to mark the 2nd
atom uarch. The helper find_hybrid_pmu_for_cpu() would compare the
hybrid pmu type and dynamically read core native id from cpu to identify
the corresponding hybrid pmu structure.
Signed-off-by: Dapeng Mi <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Tested-by: Yongwei Ma <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions