| /linux/tools/perf/pmu-events/ |
| H A D | empty-pmu-events.c | 5400 const struct pmu_table_entry *pmus; 5407 const struct pmu_table_entry *pmus; 5435 .pmus = pmu_events__common, 5440 .pmus = pmu_metrics__common, 5448 .pmus = pmu_events__test_soc_cpu, 5453 .pmus = pmu_metrics__test_soc_cpu, 5474 .pmus = pmu_events__test_soc_sys, 5617 const struct pmu_table_entry *table_pmu = &table->pmus[i]; 5640 const struct pmu_table_entry *table_pmu = &table->pmus[i]; 5661 const struct pmu_table_entry *table_pmu = &table->pmus[ 2775 const struct pmu_table_entry *pmus; global() member 2781 const struct pmu_table_entry *pmus; global() member [all...] |
| H A D | jevents.py | 548 pmus: Set[Tuple[str, str]] = set() 561 pmus.add((event.pmu, pmu_name)) 572 for (pmu, tbl_pmu) in sorted(pmus): 610 pmus: Set[Tuple[str, str]] = set() 621 pmus.add((metric.pmu, pmu_name)) 631 for (pmu, tbl_pmu) in sorted(pmus): 726 \tconst struct pmu_table_entry *pmus; 733 \tconst struct pmu_table_entry *pmus; 764 \t\t.pmus = pmu_events__test_soc_cpu, 769 \t\t.pmus [all...] |
| /linux/arch/x86/events/amd/ |
| H A D | uncore.c | 80 struct amd_uncore_pmu *pmus; member 514 pmu = &uncore->pmus[i]; in amd_uncore_ctx_free() 544 pmu = &uncore->pmus[i]; in amd_uncore_ctx_init() 611 pmu = &uncore->pmus[i]; in amd_uncore_ctx_move() 761 uncore->pmus = kzalloc_obj(*uncore->pmus); in amd_uncore_df_ctx_init() 762 if (!uncore->pmus) in amd_uncore_df_ctx_init() 770 pmu = &uncore->pmus[0]; in amd_uncore_df_ctx_init() 895 uncore->pmus = kzalloc_obj(*uncore->pmus); in amd_uncore_l3_ctx_init() 896 if (!uncore->pmus) in amd_uncore_l3_ctx_init() 904 pmu = &uncore->pmus[0]; in amd_uncore_l3_ctx_init() [all …]
|
| /linux/tools/perf/arch/arm/util/ |
| H A D | auxtrace.c | 18 #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 D | stat.sh | 244 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 D | uncore.c | 981 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit() 995 kfree(type->pmus); in uncore_type_exit() 996 type->pmus = NULL; in uncore_type_exit() 1011 struct intel_uncore_pmu *pmus; in uncore_type_init() local 1015 pmus = kzalloc_objs(*pmus, type->num_boxes); in uncore_type_init() 1016 if (!pmus) in uncore_type_init() 1022 pmus[i].pmu_idx = i; in uncore_type_init() 1023 pmus[i].type = type; in uncore_type_init() 1024 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init() 1025 if (!pmus[i].boxes) in uncore_type_init() [all …]
|
| H A D | core.c | 7699 static __always_inline int intel_pmu_init_hybrid(enum hybrid_pmu_type pmus) in intel_pmu_init_hybrid() argument 7701 unsigned long pmus_mask = pmus; in intel_pmu_init_hybrid()
|
| /linux/tools/perf/util/ |
| H A D | drm_pmu.c | 74 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 D | hwmon_pmu.h | 145 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 D | drm_pmu.h | 32 int perf_pmus__read_drm_pmus(struct list_head *pmus);
|
| H A D | hwmon_pmu.c | 349 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, const char *hwmon_dir, in hwmon_pmu__new() 393 list_add_tail(&hwm->pmu.list, pmus); in hwmon_pmu__exit() 708 int perf_pmus__read_hwmon_pmus(struct list_head *pmus) in perf_pmus__read_hwmon_pmus() 751 hwmon_pmu__new(pmus, buf, class_hwmon_ent->d_name, line); in perf_pmus__read_hwmon_pmus() 345 hwmon_pmu__new(struct list_head * pmus,const char * hwmon_dir,const char * sysfs_name,const char * name) hwmon_pmu__new() argument 704 perf_pmus__read_hwmon_pmus(struct list_head * pmus) perf_pmus__read_hwmon_pmus() argument
|
| H A D | pmu.h | 346 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name,
|
| H A D | pmu.c | 25 #include "pmus.h" 1231 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *name, in perf_pmu__lookup() 1284 list_add_tail(&pmu->list, pmus); in perf_pmu__lookup() 1225 perf_pmu__lookup(struct list_head * pmus,int dirfd,const char * name,bool eager_load) perf_pmu__lookup() argument
|
| H A D | Build | 90 perf-util-y += pmus.o
|
| /linux/tools/perf/python/ |
| H A D | ilist.py | 102 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 D | intel-hybrid.txt | 10 Kernel exports two new cpu pmus via sysfs: 203 warning and disable grouping, because the pmus in group are
|
| /linux/drivers/perf/ |
| H A D | xgene_pmu.c | 1921 xgene_pmu_dev_cleanup(struct xgene_pmu *xgene_pmu, struct list_head *pmus) in xgene_pmu_dev_cleanup() argument 1925 list_for_each_entry(ctx, pmus, next) { in xgene_pmu_dev_cleanup()
|
| /linux/kernel/events/ |
| H A D | core.c | 464 static LIST_HEAD(pmus); 12960 list_add_rcu(&pmu->entry, &pmus); in DEFINE_FREE() 13087 list_add_rcu(&pmu->entry, &pmus); in perf_pmu_unregister() 13249 list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { in perf_init_event() 15249 list_for_each_entry(pmu, &pmus, entry) { in perf_event_clear_cpumask() 15424 list_for_each_entry(pmu, &pmus, entry) { in perf_event_sysfs_init()
|