Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/arch/arm/util/
H 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()
/openbmc/linux/arch/x86/events/intel/
H A Duncore.c958 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit()
969 kfree(type->pmus); in uncore_type_exit()
970 type->pmus = NULL; in uncore_type_exit()
988 struct intel_uncore_pmu *pmus; in uncore_type_init() local
992 pmus = kcalloc(type->num_boxes, sizeof(*pmus), GFP_KERNEL); in uncore_type_init()
993 if (!pmus) in uncore_type_init()
999 pmus[i].func_id = setid ? i : -1; in uncore_type_init()
1000 pmus[i].pmu_idx = i; in uncore_type_init()
1001 pmus[i].type = type; in uncore_type_init()
1002 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
[all …]
H A Duncore.h82 struct intel_uncore_pmu *pmus; member
/openbmc/linux/tools/perf/pmu-events/
H A Djevents.py473 pmus = set()
483 pmus.add((event.pmu, pmu_name))
493 for (pmu, tbl_pmu) in sorted(pmus):
528 pmus = set()
538 pmus.add((metric.pmu, pmu_name))
548 for (pmu, tbl_pmu) in sorted(pmus):
/openbmc/linux/arch/x86/events/
H A Drapl.c118 struct rapl_pmu *pmus[]; member
150 return dieid < rapl_pmus->maxdie ? rapl_pmus->pmus[dieid] : NULL; in cpu_to_rapl_pmu()
585 rapl_pmus->pmus[topology_logical_die_id(cpu)] = pmu; in rapl_cpu_online()
666 kfree(rapl_pmus->pmus[i]); in cleanup_rapl_pmus()
/openbmc/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
/openbmc/linux/tools/perf/util/
H A Dpmu.h267 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name);
H A Dpmu.c1028 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name) in perf_pmu__lookup() argument
1085 list_add_tail(&pmu->list, pmus); in perf_pmu__lookup()
H A DBuild77 perf-y += pmus.o
/openbmc/linux/drivers/perf/
H A Dxgene_pmu.c1942 xgene_pmu_dev_cleanup(struct xgene_pmu *xgene_pmu, struct list_head *pmus) in xgene_pmu_dev_cleanup() argument
1946 list_for_each_entry(ctx, pmus, next) { in xgene_pmu_dev_cleanup()
/openbmc/linux/kernel/events/
H A Dcore.c410 static LIST_HEAD(pmus);
11626 list_add_rcu(&pmu->entry, &pmus); in perf_pmu_register()
11787 list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { in perf_init_event()
13849 list_for_each_entry(pmu, &pmus, entry) { in perf_event_sysfs_init()