Sultan Alsawaf c22af81b11
drivers/perf: arm_pmu: Set readable_on_cpus for the perf event core
Although supported_cpus may indicate that the PMU counters can be read from
any CPU, the perf event core doesn't know that and instead resorts to
reading PMU counters on a specific CPU using costly IPIs.

Let perf know that the PMU counters can be read remotely by copying the
supported_cpus mask into readable_on_cpus.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-05-14 08:36:54 +00:00
..