| /linux-6.15/tools/perf/tests/shell/ |
| H A D | stat.sh | 192 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]"
|
| /linux-6.15/tools/perf/pmu-events/ |
| H A D | empty-pmu-events.c | 220 const struct pmu_table_entry *pmus; member 226 const struct pmu_table_entry *pmus; member 254 .pmus = pmu_events__common, 263 .pmus = pmu_events__test_soc_cpu, 267 .pmus = pmu_metrics__test_soc_cpu, 288 .pmus = pmu_events__test_soc_sys, 421 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__for_each_event() 442 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__find_event() 462 const struct pmu_table_entry *table_pmu = &table->pmus[i]; in pmu_events_table__num_events() 497 int ret = pmu_metrics_table__for_each_metric_pmu(table, &table->pmus[i], in pmu_metrics_table__for_each_metric() [all …]
|
| H A D | jevents.py | 515 pmus = set() 527 pmus.add((event.pmu, pmu_name)) 538 for (pmu, tbl_pmu) in sorted(pmus): 573 pmus = set() 583 pmus.add((metric.pmu, pmu_name)) 593 for (pmu, tbl_pmu) in sorted(pmus):
|
| /linux-6.15/arch/x86/events/amd/ |
| H A D | uncore.c | 75 struct amd_uncore_pmu *pmus; member 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() 942 uncore->pmus = kzalloc(sizeof(*uncore->pmus) * uncore->num_pmus, in amd_uncore_umc_ctx_init() 944 if (!uncore->pmus) { in amd_uncore_umc_ctx_init() 1119 kfree(uncore->pmus); in amd_uncore_exit() [all …]
|
| /linux-6.15/tools/perf/arch/arm/util/ |
| H A D | auxtrace.c | 102 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.15/arch/x86/events/intel/ |
| H A D | uncore.c | 980 kfree(type->pmus); in uncore_type_exit() 981 type->pmus = NULL; in uncore_type_exit() 1000 pmus = kcalloc(type->num_boxes, sizeof(*pmus), GFP_KERNEL); in uncore_type_init() 1001 if (!pmus) in uncore_type_init() 1007 pmus[i].pmu_idx = i; in uncore_type_init() 1010 if (!pmus[i].boxes) in uncore_type_init() 1014 type->pmus = pmus; in uncore_type_init() 1050 kfree(pmus); in uncore_type_init() 1517 pmu = type->pmus; in uncore_box_unref() 1566 pmu = type->pmus; in allocate_boxes() [all …]
|
| H A D | uncore.h | 80 struct intel_uncore_pmu *pmus; member
|
| H A D | core.c | 6470 static __always_inline int intel_pmu_init_hybrid(enum hybrid_pmu_type pmus) in intel_pmu_init_hybrid() argument 6472 unsigned long pmus_mask = pmus; in intel_pmu_init_hybrid()
|
| /linux-6.15/tools/perf/util/ |
| H A D | hwmon_pmu.h | 145 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, int hwmon_dir, 159 int perf_pmus__read_hwmon_pmus(struct list_head *pmus);
|
| H A D | hwmon_pmu.c | 345 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, int hwmon_dir, const char *sysfs_name, cons… in hwmon_pmu__new() argument 377 list_add_tail(&hwm->pmu.list, pmus); in hwmon_pmu__new() 693 int perf_pmus__read_hwmon_pmus(struct list_head *pmus) in perf_pmus__read_hwmon_pmus() argument 736 hwmon_pmu__new(pmus, hwmon_dir, class_hwmon_ent->d_name, line); in perf_pmus__read_hwmon_pmus()
|
| H A D | pmu.h | 292 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name,
|
| H A D | pmu.c | 1098 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *name, in perf_pmu__lookup() argument 1148 list_add_tail(&pmu->list, pmus); in perf_pmu__lookup()
|
| H A D | Build | 84 perf-util-y += pmus.o
|
| /linux-6.15/Documentation/devicetree/bindings/regulator/ |
| H A D | renesas,raa215300.yaml | 25 …i-channel-power-management-ics-pmics/ssdsoc-power-management-ics-pmic-and-pmus/raa215300-high-perf…
|
| /linux-6.15/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-6.15/drivers/perf/ |
| H A D | xgene_pmu.c | 1923 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.15/kernel/events/ |
| H A D | core.c | 436 static LIST_HEAD(pmus); 12243 list_add_rcu(&pmu->entry, &pmus); in DEFINE_FREE() 12410 list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { in perf_init_event() 14362 list_for_each_entry(pmu, &pmus, entry) { in perf_event_clear_cpumask() 14533 list_for_each_entry(pmu, &pmus, entry) { in perf_event_sysfs_init()
|