/linux-master/arch/powerpc/perf/ |
H A D | core-book3s.c | 2515 static DEVICE_ATTR_RO(pmu_name);
|
/linux-master/arch/sparc/kernel/ |
H A D | cpu.c | 37 const char *pmu_name; member in struct:cpu_info 58 { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name } 290 sparc_pmu_type = cpu->pmu_name;
|
/linux-master/arch/x86/events/intel/ |
H A D | core.c | 5655 static DEVICE_ATTR_RO(pmu_name);
|
H A D | uncore.c | 866 void uncore_get_alias_name(char *pmu_name, struct intel_uncore_pmu *pmu) argument 871 sprintf(pmu_name, "uncore_type_%u", type->type_id); 873 sprintf(pmu_name, "uncore_type_%u_%d",
|
H A D | uncore.h | 583 void uncore_get_alias_name(char *pmu_name, struct intel_uncore_pmu *pmu);
|
H A D | uncore_snbep.c | 5979 char pmu_name[UNCORE_PMU_NAME_LEN]; local 5981 uncore_get_alias_name(pmu_name, pmu); 5982 return sysfs_emit(buf, "%s\n", pmu_name);
|
/linux-master/arch/x86/xen/ |
H A D | smp_pv.c | 119 char *callfunc_name, *pmu_name; local 134 pmu_name = kasprintf(GFP_KERNEL, "pmu%d", cpu); 135 per_cpu(xen_pmu_irq, cpu).name = pmu_name; 139 pmu_name, NULL);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pmu.c | 491 char pmu_name[PMU_NAME_SIZE]; local 545 snprintf(pmu_name, PMU_NAME_SIZE, "%s_%d", pmu_entry->pmu_file_prefix, 548 ret = perf_pmu_register(&pmu_entry->pmu, pmu_name, -1);
|
/linux-master/drivers/hwtracing/ptt/ |
H A D | hisi_ptt.c | 1204 char *pmu_name; local 1241 pmu_name = devm_kasprintf(&hisi_ptt->pdev->dev, GFP_KERNEL, "hisi_ptt%u_%u", 1243 if (!pmu_name) 1246 ret = perf_pmu_register(&hisi_ptt->hisi_ptt_pmu, pmu_name, -1);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | evlist.c | 47 evsel->pmu_name = strdup(pmu->name);
|
H A D | evsel.c | 24 const char *pmu_name = evsel->pmu_name ? evsel->pmu_name : "cpu"; local 35 perf_pmus__have_event(pmu_name, "slots")) 66 evsel->pmu_name ? evsel->pmu_name : "cpu", 111 !(evsel->pmu_name && !strncmp(evsel->pmu_name, "ibs", 3)))
|
/linux-master/tools/perf/ |
H A D | builtin-list.c | 102 static void default_print_event(void *ps, const char *pmu_name, const char *topic, argument 116 if (print_state->pmu_glob && pmu_name && !strglobmatch(pmu_name, print_state->pmu_glob)) 156 if (pmu_name && strcmp(pmu_name, "default_core")) { 161 desc, pmu_name); 343 static void json_print_event(void *ps, const char *pmu_name, const char *topic, argument 358 if (pmu_name) { 359 fix_escape_fprintf(fp, &buf, "\t\"Unit\": \"%S\"", pmu_name);
|
/linux-master/tools/perf/pmu-events/ |
H A D | jevents.py | 510 pmu_name = event.pmu.replace(',', '_') 512 f'static const struct compact_pmu_event {_pending_events_tblname}_{pmu_name}[] = {{\n') 515 pmus.add((event.pmu, pmu_name)) 526 pmu_name = f"{pmu}\\000" 530 .pmu_name = {{ {_bcs.offsets[pmu_name]} /* {pmu_name} */ }}, 565 pmu_name = metric.pmu.replace(',', '_') 567 f'static const struct compact_pmu_event {_pending_metrics_tblname}_{pmu_name}[] = {{\n') 570 pmus.add((metric.pmu, pmu_name)) [all...] |
/linux-master/tools/perf/tests/ |
H A D | parse-events.c | 744 strcmp(evsel->pmu_name, "cpu"));
|
H A D | pmu-events.c | 367 char const *pmu_name) 374 pmu_name, alias->name, event->name); 380 pmu_name, alias->desc, event->desc); 386 pmu_name, alias->long_desc, 393 pmu_name, alias->topic, event->topic); 399 pmu_name, alias->str, test_event->alias_str); 405 pmu_name, alias->str, test_event->alias_long_desc); 409 if (!is_same(alias->pmu_name, test_event->event.pmu) && 410 !is_same(alias->pmu_name, "default_core")) { 411 pr_debug("testing aliases PMU %s: mismatched pmu_name, 365 compare_alias_to_test_event(struct pmu_event_info *alias, struct perf_pmu_test_event const *test_event, char const *pmu_name) argument 540 __test_core_pmu_event_aliases(const char *pmu_name, int *count) argument 598 const char *pmu_name = pmu->name; local [all...] |
/linux-master/tools/perf/util/ |
H A D | cputopo.c | 444 node->pmu_name = strdup(pmu->name); 445 if (!node->pmu_name) 466 zfree(&node->pmu_name); 501 zfree(&tp->nodes[i].pmu_name);
|
H A D | cputopo.h | 50 char *pmu_name; member in struct:hybrid_topology_node
|
H A D | env.c | 234 zfree(&env->hybrid_nodes[i].pmu_name); 243 zfree(&env->pmu_caps[i].pmu_name); 562 bool perf_env__has_pmu_mapping(struct perf_env *env, const char *pmu_name) argument 571 if (strcmp(pmu_mapping, pmu_name) == 0) 580 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name, argument 588 if (!pmu_name || !cap) 599 if (!strcmp(pmu_name, "cpu")) { 610 if (strcmp(env->pmu_caps[i].pmu_name, pmu_name))
|
H A D | env.h | 43 char *pmu_name; member in struct:hybrid_node 54 char *pmu_name; member in struct:pmu_caps 191 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name, 194 bool perf_env__has_pmu_mapping(struct perf_env *env, const char *pmu_name);
|
H A D | evlist.c | 2550 if (asprintf(&new_name, "%s/%s/%s", pos->pmu_name, pos->name, attributes + 1)) {
|
H A D | evsel.c | 295 evsel->pmu_name = NULL; 392 if (orig->pmu_name) { 393 evsel->pmu_name = strdup(orig->pmu_name); 394 if (evsel->pmu_name == NULL) 1481 zfree(&evsel->pmu_name);
|
H A D | evsel.h | 75 const char *pmu_name; member in struct:evsel::__anon1601
|
H A D | header.c | 959 ret = do_write_string(ff, n->pmu_name); 1819 fprintf(fp, "# %s cpu list : %s\n", n->pmu_name, n->cpus); 2116 static void __print_pmu_caps(FILE *fp, int nr_caps, char **caps, char *pmu_name) argument 2122 fprintf(fp, "# %s pmu capabilities: not available\n", pmu_name); 2126 fprintf(fp, "# %s pmu capabilities: ", pmu_name); 2148 pmu_caps->pmu_name); 3095 n->pmu_name = do_read_string(ff); 3096 if (!n->pmu_name) 3110 free(nodes[i].pmu_name); 3376 pmu_caps[i].pmu_name [all...] |
H A D | metricgroup.c | 300 if (!all_pmus && ev->pmu_name && evsel__is_hybrid(ev) && 301 strcmp(ev->pmu_name, pmu))
|
H A D | parse-events.c | 267 evsel->pmu_name = pmu ? strdup(pmu->name) : NULL; 1921 * the pmu_name of the first non-software event to avoid breaking the
|