Home
last modified time | relevance | path

Searched refs:pmus (Results 1 – 12 of 12) sorted by relevance

/tools/perf/tests/shell/
A Dstat.sh192 pmus=$(ls /sys/bus/event_source/devices/*/cpus 2>/dev/null | wc -l)
193 if [ "$pmus" -lt 1 ]
195 pmus=1
205 if [ "$pmus" -ne "$cycles_events" ] && [ "0" -ne "$cycles_events" ]
207 echo "hybrid test [Found $pmus PMUs but $cycles_events cycles events. Failed]"
/tools/perf/pmu-events/
A Dempty-pmu-events.c258 const struct pmu_table_entry *pmus; member
264 const struct pmu_table_entry *pmus; member
292 .pmus = pmu_events__common,
301 .pmus = pmu_events__test_soc_cpu,
305 .pmus = pmu_metrics__test_soc_cpu,
326 .pmus = pmu_events__test_soc_sys,
465 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__for_each_event()
486 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__find_event()
506 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__num_events()
600 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_metrics_table__find_metric()
[all …]
A Djevents.py526 pmus = set()
538 pmus.add((event.pmu, pmu_name))
549 for (pmu, tbl_pmu) in sorted(pmus):
584 pmus = set()
594 pmus.add((metric.pmu, pmu_name))
604 for (pmu, tbl_pmu) in sorted(pmus):
/tools/perf/arch/arm/util/
A Dauxtrace.c102 static struct perf_pmu *find_pmu_for_event(struct perf_pmu **pmus, in find_pmu_for_event() argument
107 if (!pmus) in find_pmu_for_event()
111 if (evsel->core.attr.type == pmus[i]->type) in find_pmu_for_event()
112 return pmus[i]; in find_pmu_for_event()
/tools/perf/util/
A Dhwmon_pmu.h145 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, const char *hwmon_dir,
159 int perf_pmus__read_hwmon_pmus(struct list_head *pmus);
A Ddrm_pmu.c72 static struct drm_pmu *add_drm_pmu(struct list_head *pmus, char *line, size_t line_len) in add_drm_pmu() argument
91 list_for_each_entry(pmu, pmus, list) { in add_drm_pmu()
160 struct list_head *pmus = args; in read_drm_pmus_cb() local
177 drm = add_drm_pmu(pmus, line, line_len); in read_drm_pmus_cb()
244 list_add_tail(&drm->pmu.list, pmus); in read_drm_pmus_cb()
511 int perf_pmus__read_drm_pmus(struct list_head *pmus) in perf_pmus__read_drm_pmus() argument
513 return for_each_drm_fdinfo(/*skip_all_duplicates=*/true, read_drm_pmus_cb, pmus); in perf_pmus__read_drm_pmus()
A Ddrm_pmu.h32 int perf_pmus__read_drm_pmus(struct list_head *pmus);
A Dhwmon_pmu.c345 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, const char *hwmon_dir, in hwmon_pmu__new() argument
389 list_add_tail(&hwm->pmu.list, pmus); in hwmon_pmu__new()
704 int perf_pmus__read_hwmon_pmus(struct list_head *pmus) in perf_pmus__read_hwmon_pmus() argument
748 hwmon_pmu__new(pmus, buf, class_hwmon_ent->d_name, line); in perf_pmus__read_hwmon_pmus()
A Dpmu.h301 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name,
A Dpmu.c1211 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *name, in perf_pmu__lookup() argument
1264 list_add_tail(&pmu->list, pmus); in perf_pmu__lookup()
A DBuild85 perf-util-y += pmus.o
/tools/perf/Documentation/
A Dintel-hybrid.txt10 Kernel exports two new cpu pmus via sysfs:
203 warning and disable grouping, because the pmus in group are

Completed in 26 milliseconds