diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2021-04-12 17:30:51 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-04-19 21:03:26 +0300 |
commit | b8c4d1a87610ba20da1abddb7aacbde0b2817c1a (patch) | |
tree | 9e791ebefb7f4b8bacf858f16bb62e0176ec4e78 /tools/perf/scripts/python/stackcollapse.py | |
parent | 183af7366b4e813ee4e0b995ff731e3ac28251f0 (diff) | |
download | linux-b8c4d1a87610ba20da1abddb7aacbde0b2817c1a.tar.xz |
perf/x86/intel: Factor out intel_pmu_check_num_counters
Each Hybrid PMU has to check its own number of counters and mask fixed
counters before registration.
The intel_pmu_check_num_counters will be reused later to check the
number of the counters for each hybrid PMU.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lkml.kernel.org/r/1618237865-33448-12-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions