Home
last modified time | relevance | path

Searched refs:pmu_name (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/perf/pmu-events/
A Dempty-pmu-events.c18 struct compact_pmu_event pmu_name; member
95 .pmu_name = { 0 /* default_core\000 */ },
100 .pmu_name = { 570 /* hisi_sccl,ddrc\000 */ },
110 .pmu_name = { 671 /* uncore_cbox\000 */ },
115 .pmu_name = { 1263 /* uncore_imc\000 */ },
147 .pmu_name = { 0 /* default_core\000 */ },
376 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_events_table__for_each_event() local
397 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_events_table__find_event() local
417 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_events_table__num_events() local
527 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in perf_pmu__find_events_table() local
[all …]
A Djevents.py514 pmu_name = event.pmu.replace(',', '_')
519 pmus.add((event.pmu, pmu_name))
531 pmu_name = f"{pmu}\\000"
570 pmu_name = metric.pmu.replace(',', '_')
575 pmus.add((metric.pmu, pmu_name))
586 pmu_name = f"{pmu}\\000"
628 pmu_name = f"{event.pmu}\\000"
630 _bcs.add(pmu_name, metric=False)
633 _bcs.add(pmu_name, metric=True)
/linux/tools/perf/arch/x86/util/
A Devsel.c24 const char *pmu_name = evsel->pmu_name ? evsel->pmu_name : "cpu"; in evsel__sys_has_perf_metrics() local
35 perf_pmus__have_event(pmu_name, "slots")) in evsel__sys_has_perf_metrics()
66 evsel->pmu_name ? evsel->pmu_name : "cpu", in arch_evsel__hw_name()
111 !(evsel->pmu_name && !strncmp(evsel->pmu_name, "ibs", 3))) in arch_evsel__open_strerror()
A Devlist.c47 evsel->pmu_name = strdup(pmu->name); in ___evlist__add_default_attrs()
/linux/tools/perf/tests/
A Dpmu-events.c367 char const *pmu_name) in compare_alias_to_test_event() argument
374 pmu_name, alias->name, event->name); in compare_alias_to_test_event()
380 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event()
386 pmu_name, alias->long_desc, in compare_alias_to_test_event()
412 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
535 alias->pmu_name, alias->name); in test_core_pmu_event_aliases_cb()
560 pmu->name = strdup(pmu_name); in __test_core_pmu_event_aliases()
582 test_event.event.pmu = pmu_name; in __test_core_pmu_event_aliases()
598 const char *pmu_name = pmu->name; in __test_uncore_pmu_event_aliases() local
635 pmu_name, test_event.matching_pmu, pmu_name); in __test_uncore_pmu_event_aliases()
[all …]
/linux/tools/perf/util/
A Dpmu.c71 char *pmu_name; member
414 zfree(&newalias->pmu_name); in perf_pmu_free_alias()
550 pmu_name = pe->pmu; in perf_pmu__new_alias()
576 alias->pmu_name = pmu_name ? strdup(pmu_name) : NULL; in perf_pmu__new_alias()
758 char pmu_name[PATH_MAX]; in pmu_cpumask() local
762 strlcpy(pmu_name, name, sizeof(pmu_name)); in pmu_cpumask()
877 suffix = p = pmu_name + strlen(tok); in perf_pmu__match_ignoring_suffix()
914 if (strchr(pmu_name, ',') == NULL) in pmu_uncore_alias_match()
917 str = strdup(pmu_name); in pmu_uncore_alias_match()
1870 info.pmu_name = event->pmu_name ?: pmu->name; in perf_pmu__for_each_event()
[all …]
A Denv.h43 char *pmu_name; member
54 char *pmu_name; member
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);
A Dpmu.h196 const char *pmu_name; member
232 bool pmu__name_match(const struct perf_pmu *pmu, const char *pmu_name);
274 const char *pmu_name, const char *filename);
276 int perf_pmu__pathname_fd(int dirfd, const char *pmu_name, const char *filename, int flags);
A Denv.c234 zfree(&env->hybrid_nodes[i].pmu_name); in perf_env__exit()
243 zfree(&env->pmu_caps[i].pmu_name); in perf_env__exit()
562 bool perf_env__has_pmu_mapping(struct perf_env *env, const char *pmu_name) in perf_env__has_pmu_mapping() argument
571 if (strcmp(pmu_mapping, pmu_name) == 0) in perf_env__has_pmu_mapping()
580 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name, in perf_env__find_pmu_cap() argument
588 if (!pmu_name || !cap) in perf_env__find_pmu_cap()
599 if (!strcmp(pmu_name, "cpu")) { in perf_env__find_pmu_cap()
610 if (strcmp(env->pmu_caps[i].pmu_name, pmu_name)) in perf_env__find_pmu_cap()
A Dpmus.c373 const char *pmu_name; member
402 ret = strcmp(as->pmu_name ?: "", bs->pmu_name ?: ""); in cmp_sevent()
418 return strcmp(a->pmu_name, b->pmu_name) == 0; in pmu_alias_is_duplicate()
447 COPY_STR(pmu_name); in perf_pmus__print_pmu_events__callback()
497 aliases[j].pmu_name, in perf_pmus__print_pmu_events()
515 zfree(&aliases[j].pmu_name); in perf_pmus__print_pmu_events()
A Dcputopo.c444 node->pmu_name = strdup(pmu->name); in load_hybrid_node()
445 if (!node->pmu_name) in load_hybrid_node()
466 zfree(&node->pmu_name); in load_hybrid_node()
501 zfree(&tp->nodes[i].pmu_name); in hybrid_topology__delete()
A Dcputopo.h50 char *pmu_name; member
A Dprint-events.h15 const char *pmu_name,
A Dstat-shadow.c587 if (!need_full_name || !strcmp(last_pmu, evsel->pmu_name)) { in perf_stat__print_metricgroup_header()
594 scnprintf(full_name, sizeof(full_name), "%s (%s)", name, evsel->pmu_name); in perf_stat__print_metricgroup_header()
601 last_pmu = evsel->pmu_name; in perf_stat__print_metricgroup_header()
A Dstat-display.c879 !counter->pmu_name || !strncmp(evsel__name(counter), counter->pmu_name, in uniquify_event_name()
880 strlen(counter->pmu_name))) in uniquify_event_name()
886 "%s%s", counter->pmu_name, config) > 0) { in uniquify_event_name()
893 counter->pmu_name, counter->name); in uniquify_event_name()
896 counter->name, counter->pmu_name); in uniquify_event_name()
A Dheader.c959 ret = do_write_string(ff, n->pmu_name); in write_hybrid_topology()
1819 fprintf(fp, "# %s cpu list : %s\n", n->pmu_name, n->cpus); in print_hybrid_topology()
2126 fprintf(fp, "# %s pmu capabilities: ", pmu_name); in __print_pmu_caps()
2148 pmu_caps->pmu_name); in print_pmu_caps()
3095 n->pmu_name = do_read_string(ff); in process_hybrid_topology()
3096 if (!n->pmu_name) in process_hybrid_topology()
3110 free(nodes[i].pmu_name); in process_hybrid_topology()
3376 pmu_caps[i].pmu_name = do_read_string(ff); in process_pmu_caps()
3377 if (!pmu_caps[i].pmu_name) { in process_pmu_caps()
3383 pmu_caps[i].pmu_name); in process_pmu_caps()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
A Dmisc.c515 char pmu_name[256]; in check_for_generic_compat_pmu() local
517 memset(pmu_name, 0, sizeof(pmu_name)); in check_for_generic_compat_pmu()
519 pmu_name, sizeof(pmu_name)) < 0) in check_for_generic_compat_pmu()
522 if (!strcmp(pmu_name, "ISAv3")) in check_for_generic_compat_pmu()
/linux/Documentation/ABI/testing/
A Dsysfs-bus-event_source-devices-caps8 expose information specific to a PMU, say pmu_name, so that
13 like Intel is pmu_name, which exposes underlying CPU name known
18 /sys/bus/event_source/devices/cpu/caps/pmu_name:POWER9
/linux/tools/perf/
A Dbuiltin-list.c115 static void default_print_event(void *ps, const char *pmu_name, const char *topic, in default_print_event() argument
129 if (print_state->pmu_glob && pmu_name && !strglobmatch(pmu_name, print_state->pmu_glob)) in default_print_event()
173 if (pmu_name && strcmp(pmu_name, "default_core")) { in default_print_event()
178 desc, pmu_name); in default_print_event()
356 static void json_print_event(void *ps, const char *pmu_name, const char *topic, in json_print_event() argument
371 if (pmu_name) { in json_print_event()
372 fix_escape_fprintf(fp, &buf, "\t\"Unit\": \"%S\"", pmu_name); in json_print_event()
/linux/arch/x86/xen/
A Dsmp_pv.c116 char *callfunc_name, *pmu_name; in xen_smp_intr_init_pv() local
131 pmu_name = kasprintf(GFP_KERNEL, "pmu%d", cpu); in xen_smp_intr_init_pv()
132 per_cpu(xen_pmu_irq, cpu).name = pmu_name; in xen_smp_intr_init_pv()
136 pmu_name, NULL); in xen_smp_intr_init_pv()
/linux/arch/sparc/kernel/
A Dcpu.c37 const char *pmu_name; member
58 { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name }
290 sparc_pmu_type = cpu->pmu_name; in set_cpu_and_fpu()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_pmu.c491 char pmu_name[PMU_NAME_SIZE]; in init_pmu_entry_by_type_and_add() local
545 snprintf(pmu_name, PMU_NAME_SIZE, "%s_%d", pmu_entry->pmu_file_prefix, in init_pmu_entry_by_type_and_add()
548 ret = perf_pmu_register(&pmu_entry->pmu, pmu_name, -1); in init_pmu_entry_by_type_and_add()
/linux/tools/perf/arch/arm64/util/
A Darm-spe.c191 if (!strstarts(evsel->pmu_name, ARM_SPE_PMU_NAME)) { in arm_spe_recording_options()
193 evsel->pmu_name); in arm_spe_recording_options()
/linux/tools/perf/Documentation/
A Dperf.data-file-format.txt220 struct perf_header_string pmu_name;
390 cpu pmu capabilities: branches=32, max_precise=3, pmu_name=icelake
412 char pmu_name[];
436 char pmu_name[];
/linux/drivers/hwtracing/ptt/
A Dhisi_ptt.c1204 char *pmu_name; in hisi_ptt_register_pmu() local
1242 pmu_name = devm_kasprintf(&hisi_ptt->pdev->dev, GFP_KERNEL, "hisi_ptt%u_%u", in hisi_ptt_register_pmu()
1244 if (!pmu_name) in hisi_ptt_register_pmu()
1247 ret = perf_pmu_register(&hisi_ptt->hisi_ptt_pmu, pmu_name, -1); in hisi_ptt_register_pmu()

Completed in 62 milliseconds

12