diff options
author | Kan Liang <[email protected]> | 2019-05-13 13:58:59 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-05-23 10:08:35 +0200 |
commit | cb63ba0f670df1f0ddf21c6cc4bbe74db398742c (patch) | |
tree | 9c0a7d16e69217f627121fc89fe2dbeab6264092 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b10b3efb88e7bba12f09f71740bab9b7225631c9 (diff) |
perf/x86/intel/cstate: Support multi-die/package
Some cstate counters become die-scoped on Xeon Cascade Lake-AP. Perf cstate
driver needs to support die-scope cstate counters.
Use topology_die_cpumask() to replace topology_core_cpumask(). For
previous platforms which doesn't have multi-die, topology_die_cpumask() is
identical as topology_core_cpumask(). There is no functional change for
previous platforms.
Name the die-scope PMU "cstate_die".
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/acb5e483287280eeb2b6daabe04a600b85e72a78.1557769318.git.len.brown@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions