Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/pmu-events/
Dempty-pmu-events.c183 const struct pmu_table_entry *pmus; member
189 const struct pmu_table_entry *pmus; member
217 .pmus = pmu_events__test_soc_cpu,
221 .pmus = pmu_metrics__test_soc_cpu,
242 .pmus = pmu_events__test_soc_sys,
375 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__for_each_event()
396 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__find_event()
416 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__num_events()
451 int ret = pmu_metrics_table__for_each_metric_pmu(table, &table->pmus[i], in pmu_metrics_table__for_each_metric()
526 const struct pmu_table_entry *table_pmu = &map->event_table.pmus[i]; in perf_pmu__find_events_table()
[all …]
Djevents.py507 pmus = set()
519 pmus.add((event.pmu, pmu_name))
530 for (pmu, tbl_pmu) in sorted(pmus):
565 pmus = set()
575 pmus.add((metric.pmu, pmu_name))
585 for (pmu, tbl_pmu) in sorted(pmus):
/linux-6.12.1/arch/x86/events/amd/
Duncore.c75 struct amd_uncore_pmu *pmus; member
425 pmu = &uncore->pmus[i]; in amd_uncore_ctx_free()
455 pmu = &uncore->pmus[i]; in amd_uncore_ctx_init()
519 pmu = &uncore->pmus[i]; in amd_uncore_ctx_move()
672 uncore->pmus = kzalloc(sizeof(*uncore->pmus), GFP_KERNEL); in amd_uncore_df_ctx_init()
673 if (!uncore->pmus) in amd_uncore_df_ctx_init()
681 pmu = &uncore->pmus[0]; in amd_uncore_df_ctx_init()
806 uncore->pmus = kzalloc(sizeof(*uncore->pmus), GFP_KERNEL); in amd_uncore_l3_ctx_init()
807 if (!uncore->pmus) in amd_uncore_l3_ctx_init()
815 pmu = &uncore->pmus[0]; in amd_uncore_l3_ctx_init()
[all …]
/linux-6.12.1/tools/perf/arch/arm/util/
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()
/linux-6.12.1/arch/x86/events/intel/
Duncore.c967 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit()
981 kfree(type->pmus); in uncore_type_exit()
982 type->pmus = NULL; in uncore_type_exit()
997 struct intel_uncore_pmu *pmus; in uncore_type_init() local
1001 pmus = kcalloc(type->num_boxes, sizeof(*pmus), GFP_KERNEL); in uncore_type_init()
1002 if (!pmus) in uncore_type_init()
1008 pmus[i].func_id = setid ? i : -1; in uncore_type_init()
1009 pmus[i].pmu_idx = i; in uncore_type_init()
1010 pmus[i].type = type; in uncore_type_init()
1011 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
[all …]
Duncore.h80 struct intel_uncore_pmu *pmus; member
Dcore.c6245 static __always_inline int intel_pmu_init_hybrid(enum hybrid_pmu_type pmus) in intel_pmu_init_hybrid() argument
6247 unsigned long pmus_mask = pmus; in intel_pmu_init_hybrid()
/linux-6.12.1/arch/x86/events/
Drapl.c132 struct rapl_pmu *pmus[] __counted_by(nr_rapl_pmu);
180 return rapl_pmu_idx < rapl_pmus->nr_rapl_pmu ? rapl_pmus->pmus[rapl_pmu_idx] : NULL; in cpu_to_rapl_pmu()
616 rapl_pmus->pmus[rapl_pmu_idx] = pmu; in rapl_cpu_online()
697 kfree(rapl_pmus->pmus[i]); in cleanup_rapl_pmus()
717 rapl_pmus = kzalloc(struct_size(rapl_pmus, pmus, nr_rapl_pmu), GFP_KERNEL); in init_rapl_pmus()
/linux-6.12.1/tools/perf/Documentation/
Dintel-hybrid.txt10 Kernel exports two new cpu pmus via sysfs:
203 warning and disable grouping, because the pmus in group are
/linux-6.12.1/tools/perf/util/
Dpmu.h278 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name,
Dpmu.c1082 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *name, in perf_pmu__lookup() argument
1132 list_add_tail(&pmu->list, pmus); in perf_pmu__lookup()
DBuild83 perf-util-y += pmus.o
/linux-6.12.1/drivers/perf/
Dxgene_pmu.c1923 xgene_pmu_dev_cleanup(struct xgene_pmu *xgene_pmu, struct list_head *pmus) in xgene_pmu_dev_cleanup() argument
1927 list_for_each_entry(ctx, pmus, next) { in xgene_pmu_dev_cleanup()
/linux-6.12.1/kernel/events/
Dcore.c435 static LIST_HEAD(pmus);
11812 list_add_rcu(&pmu->entry, &pmus); in perf_pmu_register()
11989 list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { in perf_init_event()
13962 list_for_each_entry(pmu, &pmus, entry) { in perf_event_clear_cpumask()
14133 list_for_each_entry(pmu, &pmus, entry) { in perf_event_sysfs_init()