summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorGanapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>2017-08-24 14:00:58 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-12-05 21:43:51 +0300
commit14b22ae028de56cca980171db625d1e9925c8fba (patch)
tree6aa92f0be5eb0935f84c5ded01699c3fa6746044 /tools/perf/scripts/python/call-graph-from-sql.py
parentb57df28893543db3466172088786fae39b7fc3ad (diff)
downloadlinux-14b22ae028de56cca980171db625d1e9925c8fba.tar.xz
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 <ganapatrao.kulkarni@cavium.com> Tested-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Tested-by: Jin Yao <yao.jin@linux.intel.com> Acked-by: Will Deacon <will.deacon@arm.com> Link: https://lkml.kernel.org/n/tip-y1woxt1k2pqqwpprhonnft2s@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions