On Thu, Aug 24, 2017 at 05:33:48PM +0530, Ganapatrao Kulkarni wrote:
> On some platforms, PMU core devices sysfs name is not cpu.
> Adding function is_pmu_core to detect PMU core devices using
> core device specific hints in sysfs.
> 
> For arm64 platforms, all core devices have file "cpus" in sysfs.
> 
> Tested-by: Shaokun Zhang <[email protected]>
> Signed-off-by: Ganapatrao Kulkarni <[email protected]>
> ---
>  tools/perf/util/pmu.c | 39 +++++++++++++++++++++++++++++++++++----
>  1 file changed, 35 insertions(+), 4 deletions(-)

Acked-by: Will Deacon <[email protected]>

Will

Reply via email to