Home
last modified time | relevance | path

Searched refs:pmu_dev (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/perf/
H A Dxgene_pmu.c141 struct xgene_pmu_dev *pmu_dev; member
697 pmu_dev->max_counters); in get_next_avail_cntr()
698 if (cntr == pmu_dev->max_counters) in get_next_avail_cntr()
871 pmu_dev->max_counters); in xgene_perf_pmu_enable()
1099 xgene_pmu = pmu_dev->parent; in xgene_init_perf()
1101 pmu_dev->max_counters = 1; in xgene_init_perf()
1106 pmu_dev->pmu = (struct pmu) { in xgene_init_perf()
1138 ctx->pmu_dev = pmu; in xgene_pmu_dev_add()
1253 _xgene_pmu_isr(irq, ctx->pmu_dev); in xgene_pmu_isr()
1258 _xgene_pmu_isr(irq, ctx->pmu_dev); in xgene_pmu_isr()
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_arm_coresight.sh94 pmu_dev="/sys/bus/event_source/devices/cs_etm/sinks/$2"
97 if ! [ -f $pmu_dev ]; then
98 echo "PMU doesn't support $pmu_dev"
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm-perf.c732 struct device *pmu_dev = etm_pmu.dev; in etm_perf_symlink() local
741 ret = sysfs_create_link(&pmu_dev->kobj, &cs_dev->kobj, entry); in etm_perf_symlink()
746 sysfs_remove_link(&pmu_dev->kobj, entry); in etm_perf_symlink()
770 struct device *pmu_dev = etm_pmu.dev; in etm_perf_add_symlink_group() local
795 ret = sysfs_add_file_to_group(&pmu_dev->kobj, in etm_perf_add_symlink_group()
827 struct device *pmu_dev = etm_pmu.dev; in etm_perf_del_symlink_group() local
829 sysfs_remove_file_from_group(&pmu_dev->kobj, in etm_perf_del_symlink_group()