diff options
| author | Kan Liang <[email protected]> | 2023-08-29 05:58:04 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2023-08-29 20:59:23 +0200 |
| commit | 299a5fc8e783eed705015e83e381912dbbf3eabc (patch) | |
| tree | 5fd7eaba44b70f618ac79c4429813d10b789fee3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | d87d221f854b62f5e8026505497d33404ef6050c (diff) | |
perf/x86/intel: Apply the common initialization code for ADL
Use the intel_pmu_init_glc() and intel_pmu_init_grt() to replace the
duplicate code for ADL.
The current code already checks the PERF_X86_EVENT_TOPDOWN flag before
invoking the Topdown metrics functions. (The PERF_X86_EVENT_TOPDOWN flag
is to indicate the Topdown metric feature, which is only available for
the p-core.) Drop the unnecessary adl_set_topdown_event_period() and
adl_update_topdown_event().
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions