diff options
| author | Ganapatrao Kulkarni <[email protected]> | 2017-08-24 11:00:58 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-12-05 18:43:51 +0000 |
| commit | 14b22ae028de56cca980171db625d1e9925c8fba (patch) | |
| tree | 6aa92f0be5eb0935f84c5ded01699c3fa6746044 /tools/perf/util/python.c | |
| parent | perf tools arm64: Add support for get_cpuid_str function. (diff) | |
| download | kernel-14b22ae028de56cca980171db625d1e9925c8fba.tar.gz kernel-14b22ae028de56cca980171db625d1e9925c8fba.zip | |
perf pmu: Add helper function is_pmu_core to detect PMU CORE devices
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.
Signed-off-by: Ganapatrao Kulkarni <[email protected]>
Tested-by: Shaokun Zhang <[email protected]>
Tested-by: Jin Yao <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
