Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/events/intel/
Duncore.c937 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit()
948 kfree(type->pmus); in uncore_type_exit()
949 type->pmus = NULL; in uncore_type_exit()
967 struct intel_uncore_pmu *pmus; in uncore_type_init() local
971 pmus = kcalloc(type->num_boxes, sizeof(*pmus), GFP_KERNEL); in uncore_type_init()
972 if (!pmus) in uncore_type_init()
978 pmus[i].func_id = setid ? i : -1; in uncore_type_init()
979 pmus[i].pmu_idx = i; in uncore_type_init()
980 pmus[i].type = type; in uncore_type_init()
981 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
[all …]
Duncore.h79 struct intel_uncore_pmu *pmus; member
/Linux-v6.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-v6.1/arch/x86/events/
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()
/Linux-v6.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-v6.1/tools/perf/util/
Dpmu.c44 static LIST_HEAD(pmus);
993 list_add_tail(&pmu->list, &pmus); in pmu_lookup()
1029 list_for_each_entry(pmu, &pmus, list) { in pmu_find()
1042 list_for_each_entry(pmu, &pmus, list) in perf_pmu__find_by_type()
1057 pmu = list_prepare_entry(pmu, &pmus, list); in perf_pmu__scan()
1059 list_for_each_entry_continue(pmu, &pmus, list) in perf_pmu__scan()
/Linux-v6.1/drivers/perf/
Dxgene_pmu.c1944 xgene_pmu_dev_cleanup(struct xgene_pmu *xgene_pmu, struct list_head *pmus) in xgene_pmu_dev_cleanup() argument
1948 list_for_each_entry(ctx, pmus, next) { in xgene_pmu_dev_cleanup()
/Linux-v6.1/kernel/events/
Dcore.c406 static LIST_HEAD(pmus);
11072 list_for_each_entry(pmu, &pmus, entry) { in find_pmu_context()
11345 list_add_rcu(&pmu->entry, &pmus); in perf_pmu_register()
11347 list_add_tail_rcu(&pmu->entry, &pmus); in perf_pmu_register()
11503 list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { in perf_init_event()
13500 list_for_each_entry(pmu, &pmus, entry) { in perf_event_exit_cpu_context()
13528 list_for_each_entry(pmu, &pmus, entry) { in perf_event_init_cpu()
13619 list_for_each_entry(pmu, &pmus, entry) { in perf_event_sysfs_init()