Home
last modified time | relevance | path

Searched hist:b8c4d1a87610ba20da1abddb7aacbde0b2817c1a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/events/intel/
H A Dcore.cdiff b8c4d1a87610ba20da1abddb7aacbde0b2817c1a Mon Apr 12 09:30:51 CDT 2021 Kan Liang <kan.liang@linux.intel.com> 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