mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>