Home
last modified time | relevance | path

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

/linux/tools/perf/pmu-events/
H A Dempty-pmu-events.c2775 const struct pmu_table_entry *pmus; member
2781 const struct pmu_table_entry *pmus; member
2809 .pmus = pmu_events__common,
2813 .pmus = pmu_metrics__common,
2821 .pmus = pmu_events__test_soc_cpu,
2825 .pmus = pmu_metrics__test_soc_cpu,
2846 .pmus = pmu_events__test_soc_sys,
2989 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__for_each_event()
3012 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__find_event()
3034 const struct pmu_table_entry *table_pmu = &table->pmus[ in pmu_events_table__num_events()
[all...]
H A Djevents.py536 pmus = set()
548 pmus.add((event.pmu, pmu_name))
559 for (pmu, tbl_pmu) in sorted(pmus):
594 pmus = set()
604 pmus.add((metric.pmu, pmu_name))
614 for (pmu, tbl_pmu) in sorted(pmus):
/linux/arch/x86/events/amd/
H A Duncore.c80 struct amd_uncore_pmu *pmus;
483 pmu = &uncore->pmus[i]; in amd_uncore_ctx_free()
513 pmu = &uncore->pmus[i]; in amd_uncore_ctx_init()
580 pmu = &uncore->pmus[i]; in amd_uncore_ctx_move()
730 uncore->pmus = kzalloc_obj(*uncore->pmus); in amd_uncore_df_ctx_init()
731 if (!uncore->pmus) in amd_uncore_df_ctx_init()
739 pmu = &uncore->pmus[0]; in amd_uncore_df_ctx_init()
864 uncore->pmus = kzalloc_obj(*uncore->pmus); in amd_uncore_l3_ctx_init()
79 struct amd_uncore_pmu *pmus; global() member
[all...]
/linux/tools/perf/arch/arm/util/
H A Dauxtrace.c18 #include "../../../util/pmus.h"
103 static struct perf_pmu *find_pmu_for_event(struct perf_pmu **pmus, in find_pmu_for_event() argument
108 if (!pmus) in find_pmu_for_event()
112 if (evsel->core.attr.type == pmus[i]->type) in find_pmu_for_event()
113 return pmus[i]; in find_pmu_for_event()
/linux/tools/perf/tests/shell/
H A Dstat.sh244 pmus=$(ls /sys/bus/event_source/devices/*/cpus 2>/dev/null | wc -l)
245 if [ "$pmus" -lt 1 ]
247 pmus=1
257 if [ "$pmus" -ne "$cycles_events" ] && [ "0" -ne "$cycles_events" ]
259 echo "hybrid test [Found $pmus PMUs but $cycles_events cycles events. Failed]"
/linux/arch/x86/events/intel/
H A Duncore.c979 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit()
993 kfree(type->pmus); in uncore_type_init()
994 type->pmus = NULL; in uncore_type_init()
1009 struct intel_uncore_pmu *pmus; in uncore_type_init()
1013 pmus = kzalloc_objs(*pmus, type->num_boxes); in uncore_type_init()
1014 if (!pmus) in uncore_type_init()
1020 pmus[i].pmu_idx = i; in uncore_type_init()
1021 pmus[i].type = type; in uncore_type_init()
1022 pmus[ in uncore_type_init()
990 struct intel_uncore_pmu *pmus; uncore_type_init() local
[all...]
H A Dcore.c7673 static __always_inline int intel_pmu_init_hybrid(enum hybrid_pmu_type pmus) in intel_pmu_init()
7675 unsigned long pmus_mask = pmus; in intel_pmu_init()
7420 intel_pmu_init_hybrid(enum hybrid_pmu_type pmus) intel_pmu_init_hybrid() argument
/linux/tools/perf/util/
H A Ddrm_pmu.c74 static struct drm_pmu *add_drm_pmu(struct list_head *pmus, char *line, size_t line_len) in add_drm_pmu()
93 list_for_each_entry(pmu, pmus, list) { in add_drm_pmu()
157 struct list_head *pmus = args; in add_event()
174 drm = add_drm_pmu(pmus, line, line_len); in read_drm_pmus_cb()
241 list_add_tail(&drm->pmu.list, pmus); in read_drm_pmus_cb()
510 int perf_pmus__read_drm_pmus(struct list_head *pmus) in for_each_drm_fdinfo()
512 return for_each_drm_fdinfo(/*skip_all_duplicates=*/true, read_drm_pmus_cb, pmus); in for_each_drm_fdinfo()
73 add_drm_pmu(struct list_head * pmus,char * line,size_t line_len) add_drm_pmu() argument
161 struct list_head *pmus = args; read_drm_pmus_cb() local
514 perf_pmus__read_drm_pmus(struct list_head * pmus) perf_pmus__read_drm_pmus() argument
H 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);
H A Ddrm_pmu.h32 int perf_pmus__read_drm_pmus(struct list_head *pmus);
H 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
747 hwmon_pmu__new(pmus, buf, class_hwmon_ent->d_name, line); in perf_pmus__read_hwmon_pmus()
H A Dpmu.h346 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name,
H A Dpmu.c1225 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *name, in perf_pmu__lookup() argument
1278 list_add_tail(&pmu->list, pmus); in perf_pmu__lookup()
H A DBuild88 perf-util-y += pmus.o
/linux/tools/perf/python/
H A Dilist.py102 for p in perf.pmus():
443 pmus = tree.root.add("PMUs")
444 for pmu in perf.pmus():
446 pmu_node = pmus.add(pmu_name)
/linux/tools/perf/Documentation/
H A Dintel-hybrid.txt10 Kernel exports two new cpu pmus via sysfs:
203 warning and disable grouping, because the pmus in group are
/linux/kernel/events/
H A Dcore.c464 static LIST_HEAD(pmus);
5656 * The following implement mutual exclusion of events on "exclusive" pmus
5657 * (PERF_PMU_CAP_EXCLUSIVE). Such pmus can only have one event scheduled
12918 list_add_rcu(&pmu->entry, &pmus); in __pmu_detach_event()
13045 list_add_rcu(&pmu->entry, &pmus); in perf_try_init_event()
13053 * PMU is removed from the pmus list, so no new events will in perf_try_init_event()
13160 * pmus overwrites event->attr.type to forward event to another pmu. in perf_init_event()
13207 list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { in account_pmu_sb_event()
14127 /* Don't allow group of multiple hw events from different pmus */ in SYSCALL_DEFINE5()
15180 list_for_each_entry(pmu, &pmus, entr in perf_event_exit_cpu_context()
[all...]