Home
last modified time | relevance | path

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

/tools/perf/pmu-events/
A Dempty-pmu-events.c18 struct compact_pmu_event pmu_name; member
130 .pmu_name = { 0 /* software\000 */ },
135 .pmu_name = { 1539 /* tool\000 */ },
185 .pmu_name = { 3350 /* uncore_cbox\000 */ },
190 .pmu_name = { 3814 /* uncore_imc\000 */ },
466 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_events_table__for_each_event() local
487 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_events_table__find_event() local
507 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_events_table__num_events() local
601 const char *pmu_name = &big_c_string[table_pmu->pmu_name.offset]; in pmu_metrics_table__find_metric() local
675 const char *pmu_name = &big_c_string[pmu_events__common[i].pmu_name.offset]; in map_for_pmu() local
[all …]
A Djevents.py533 pmu_name = event.pmu.replace(',', '_')
538 pmus.add((event.pmu, pmu_name))
550 pmu_name = f"{pmu}\\000"
589 pmu_name = metric.pmu.replace(',', '_')
594 pmus.add((metric.pmu, pmu_name))
605 pmu_name = f"{pmu}\\000"
647 pmu_name = f"{event.pmu}\\000"
649 _bcs.add(pmu_name, metric=False)
652 _bcs.add(pmu_name, metric=True)
/tools/perf/tests/
A Dpmu-events.c41 const char *pmu_name; member
347 char const *pmu_name) in compare_alias_to_test_event() argument
366 pmu_name, alias->long_desc, in compare_alias_to_test_event()
392 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
515 alias->pmu_name, alias->name); in test_core_pmu_event_aliases_cb()
561 test_event.event.pmu = pmu_name; in __test_core_pmu_event_aliases()
658 .pmu_name = "hisi_sccl1_ddrc2",
665 .pmu_name = "uncore_cbox_0",
674 .pmu_name = "hisi_sccl3_l3c7",
688 .pmu_name = "uncore_imc_0",
[all …]
/tools/perf/util/
A Dpmu.c76 char *pmu_name; member
629 alias->pmu_name = pmu_name ? strdup(pmu_name) : NULL; in perf_pmu__new_alias()
957 pmu_name += 7; in perf_pmu__match_ignoring_suffix_uncore()
981 if (!pmu_name) in perf_pmu__match_wildcard_uncore()
986 pmu_name += 7; in perf_pmu__match_wildcard_uncore()
1009 while (*pmu_name != '\0' && isdigit(*pmu_name)) in perf_pmu__match_wildcard_uncore()
1010 pmu_name++; in perf_pmu__match_wildcard_uncore()
1012 pmu_name++; in perf_pmu__match_wildcard_uncore()
1205 if (!strcmp(wellknown_pmus[i].pmu_name, pmu_name)) in wellknown_pmu_type()
2093 info.pmu_name = event->pmu_name ?: pmu->name; in perf_pmu__for_each_event()
[all …]
A Dprint-events.h15 const char *pmu_name, u32 pmu_type,
29 const char *pmu_name);
A Denv.h43 char *pmu_name; member
54 char *pmu_name; member
194 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name,
197 bool perf_env__has_pmu_mapping(struct perf_env *env, const char *pmu_name);
A Denv.c256 zfree(&env->hybrid_nodes[i].pmu_name); in perf_env__exit()
265 zfree(&env->pmu_caps[i].pmu_name); in perf_env__exit()
522 pmu_caps[i].pmu_name = strdup(pmu->name); in perf_env__read_core_pmu_caps()
523 if (!pmu_caps[i].pmu_name) { in perf_env__read_core_pmu_caps()
539 zfree(&pmu_caps[i].pmu_name); in perf_env__read_core_pmu_caps()
703 bool perf_env__has_pmu_mapping(struct perf_env *env, const char *pmu_name) in perf_env__has_pmu_mapping() argument
712 if (strcmp(pmu_mapping, pmu_name) == 0) in perf_env__has_pmu_mapping()
721 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name, in perf_env__find_pmu_cap() argument
729 if (!pmu_name || !cap) in perf_env__find_pmu_cap()
740 if (!strcmp(pmu_name, "cpu")) { in perf_env__find_pmu_cap()
[all …]
A Dpmu.h216 const char *pmu_name; member
296 const char *pmu_name, const char *filename);
298 int perf_pmu__pathname_fd(int dirfd, const char *pmu_name, const char *filename, int flags);
A Dcputopo.h50 char *pmu_name; member
A Dpmus.c521 const char *pmu_name; member
550 ret = strcmp(as->pmu_name ?: "", bs->pmu_name ?: ""); in cmp_sevent()
566 return strcmp(a->pmu_name, b->pmu_name) == 0; in pmu_alias_is_duplicate()
596 COPY_STR(pmu_name); in perf_pmus__print_pmu_events__callback()
647 aliases[j].pmu_name, in perf_pmus__print_pmu_events()
665 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 Dprint-events.c308 const char *pmu_name; member
391 me->pmu_name = pm->pmu; in metricgroup__add_to_mep_groups_callback()
423 me->pmu_name); in metricgroup__print()
A Dtp_pmu.c119 .pmu_name = args->pmu->name, in for_each_event_cb()
A Dheader.c983 ret = do_write_string(ff, n->pmu_name); in write_hybrid_topology()
1798 fprintf(fp, "# %s cpu list : %s\n", n->pmu_name, n->cpus); in print_hybrid_topology()
2111 fprintf(fp, "# %s pmu capabilities: ", pmu_name); in __print_pmu_caps()
2134 pmu_caps->pmu_name); in print_pmu_caps()
3081 n->pmu_name = do_read_string(ff); in process_hybrid_topology()
3082 if (!n->pmu_name) in process_hybrid_topology()
3096 free(nodes[i].pmu_name); in process_hybrid_topology()
3371 pmu_caps[i].pmu_name = do_read_string(ff); in process_pmu_caps()
3372 if (!pmu_caps[i].pmu_name) { in process_pmu_caps()
3378 pmu_caps[i].pmu_name); in process_pmu_caps()
[all …]
A Devsel.c4051 const char *name, *pmu_name; in evsel__uniquify_counter() local
4067 pmu_name = counter->pmu->name; in evsel__uniquify_counter()
4069 if (!strncmp(name, pmu_name, strlen(pmu_name))) in evsel__uniquify_counter()
4078 ret = asprintf(&new_name, "%s/%.*s/%s", pmu_name, len, name, config + 2); in evsel__uniquify_counter()
4081 ret = asprintf(&new_name, "%s/%.*s,%s", pmu_name, len, name, config + 1); in evsel__uniquify_counter()
4089 ret = asprintf(&new_name, "%s/%.*s/%s", pmu_name, len, name, config + 1); in evsel__uniquify_counter()
4092 ret = asprintf(&new_name, "%s/%s/", pmu_name, name); in evsel__uniquify_counter()
A Ddrm_pmu.c288 .pmu_name = pmu->name, in drm_pmu__for_each_event()
A Dhwmon_pmu.c511 .pmu_name = pmu->name, in hwmon_pmu__for_each_event()
/tools/perf/
A Dbuiltin-list.c119 const char *pmu_name, u32 pmu_type, in default_print_event() argument
133 if (print_state->pmu_glob && pmu_name && !strglobmatch(pmu_name, print_state->pmu_glob)) in default_print_event()
179 if (pmu_name && strcmp(pmu_name, "default_core")) { in default_print_event()
184 desc, pmu_name); in default_print_event()
207 const char *pmu_name __maybe_unused) in default_print_metric()
364 const char *pmu_name, u32 pmu_type __maybe_unused, in json_print_event() argument
379 if (pmu_name) { in json_print_event()
380 fix_escape_fprintf(fp, &buf, "\t\"Unit\": \"%S\"", pmu_name); in json_print_event()
445 const char *pmu_name) in json_print_metric() argument
495 if (pmu_name) { in json_print_metric()
[all …]
/tools/testing/selftests/powerpc/pmu/sampling_tests/
A Dmisc.c531 char pmu_name[256]; in check_for_generic_compat_pmu() local
533 memset(pmu_name, 0, sizeof(pmu_name)); in check_for_generic_compat_pmu()
535 pmu_name, sizeof(pmu_name)) < 0) in check_for_generic_compat_pmu()
538 if (!strcmp(pmu_name, "ISAv3")) in check_for_generic_compat_pmu()
/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[];

Completed in 55 milliseconds