/linux-6.1.9/tools/perf/arch/x86/util/ |
D | mem-events.c | 69 char *perf_mem_events__name(int i, char *pmu_name) in perf_mem_events__name() argument 77 if (mem_loads_name__init && !pmu_name) in perf_mem_events__name() 80 if (!pmu_name) { in perf_mem_events__name() 82 pmu_name = (char *)"cpu"; in perf_mem_events__name() 85 if (pmu_have_event(pmu_name, "mem-loads-aux")) { in perf_mem_events__name() 87 MEM_LOADS_AUX_NAME, pmu_name, pmu_name, in perf_mem_events__name() 91 e->name, pmu_name, in perf_mem_events__name() 98 if (!pmu_name) in perf_mem_events__name() 99 pmu_name = (char *)"cpu"; in perf_mem_events__name() 102 e->name, pmu_name); in perf_mem_events__name()
|
D | topdown.c | 87 const char *pmu_name; in arch_get_topdown_pmu_name() local 98 pmu_name = evlist->hybrid_pmu_name; in arch_get_topdown_pmu_name() 100 return pmu_name; in arch_get_topdown_pmu_name() 106 const char *pmu_name; in topdown_parse_events() local 111 pmu_name = arch_get_topdown_pmu_name(evlist, false); in topdown_parse_events() 113 if (pmu_have_event(pmu_name, "topdown-heavy-ops")) { in topdown_parse_events() 114 if (!strcmp(pmu_name, "cpu_core")) in topdown_parse_events() 119 if (!strcmp(pmu_name, "cpu_core")) in topdown_parse_events()
|
D | evsel.c | 42 const char *pmu_name = evsel->pmu_name ? evsel->pmu_name : "cpu"; in evsel__sys_has_perf_metrics() local 53 pmu_have_event(pmu_name, "slots")) in evsel__sys_has_perf_metrics() 85 evsel->pmu_name ? evsel->pmu_name : "cpu", in arch_evsel__hw_name()
|
D | evlist.c | 43 evsel->pmu_name = strdup(pmu->name); in ___evlist__add_default_attrs() 80 if (evsel->pmu_name && !strncmp(evsel->pmu_name, "cpu", 3) && evsel->name) { in arch_evlist__leader()
|
/linux-6.1.9/tools/perf/ |
D | builtin-list.c | 32 char *pmu_name = NULL; in cmd_list() local 66 pmu_name = perf_pmu__hybrid_type_to_pmu(hybrid_type); in cmd_list() 67 if (!pmu_name) in cmd_list() 73 details_flag, deprecated, pmu_name); in cmd_list() 97 deprecated, pmu_name); in cmd_list() 101 metricgroup__print(true, false, NULL, raw_dump, details_flag, pmu_name); in cmd_list() 103 metricgroup__print(false, true, NULL, raw_dump, details_flag, pmu_name); in cmd_list() 117 metricgroup__print(true, true, s, raw_dump, details_flag, pmu_name); in cmd_list() 134 pmu_name); in cmd_list() 137 metricgroup__print(true, true, s, raw_dump, details_flag, pmu_name); in cmd_list() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | pmu-hybrid.c | 73 char *pmu_name = NULL; in perf_pmu__hybrid_type_to_pmu() local 75 if (asprintf(&pmu_name, "cpu_%s", type) < 0) in perf_pmu__hybrid_type_to_pmu() 78 if (perf_pmu__is_hybrid(pmu_name)) in perf_pmu__hybrid_type_to_pmu() 79 return pmu_name; in perf_pmu__hybrid_type_to_pmu() 84 if (perf_pmu__hybrid_mounted(pmu_name)) in perf_pmu__hybrid_type_to_pmu() 85 return pmu_name; in perf_pmu__hybrid_type_to_pmu() 87 free(pmu_name); in perf_pmu__hybrid_type_to_pmu()
|
D | topdown.c | 8 const char *pmu_name) in topdown_filter_events() argument 14 bool is_hybrid = perf_pmu__is_hybrid(pmu_name); in topdown_filter_events() 17 if (pmu_have_event(pmu_name, attr[i])) { in topdown_filter_events() 19 len += strlen(attr[i]) + strlen(pmu_name) + 3; in topdown_filter_events() 42 sprintf(s, "%s/%s/", pmu_name, attr[i]); in topdown_filter_events()
|
D | evlist-hybrid.c | 37 evsel->pmu_name = strdup(pmu->name); in evlist__add_default_hybrid() 52 if (prev && strcmp(prev->pmu_name, pos->pmu_name)) in group_hybrid_conflict() 81 if (evsel->pmu_name && in evlist__has_hybrid() 82 perf_pmu__is_hybrid(evsel->pmu_name)) { in evlist__has_hybrid() 116 pmu = perf_pmu__find_hybrid_pmu(evsel->pmu_name); in evlist__fix_hybrid_cpus()
|
D | pmu.h | 89 char *pmu_name; member 98 int perf_pmu__config_terms(const char *pmu_name, struct list_head *formats, 121 bool deprecated, const char *pmu_name); 134 bool pmu_uncore_alias_match(const char *pmu_name, const char *name);
|
D | pmu.c | 290 zfree(&newalias->pmu_name); in perf_pmu_free_alias() 305 if (newalias->pmu_name && a->pmu_name && in perf_pmu_merge_alias() 306 !strcasecmp(newalias->pmu_name, a->pmu_name)) { in perf_pmu_merge_alias() 327 *pmu_name = NULL; in __perf_pmu__new_alias() local 337 pmu_name = (char *)pe->pmu; in __perf_pmu__new_alias() 403 alias->pmu_name = pmu_name ? strdup(pmu_name) : NULL; in __perf_pmu__new_alias() 722 static bool perf_pmu__valid_suffix(const char *pmu_name, char *tok) in perf_pmu__valid_suffix() argument 726 if (strncmp(pmu_name, tok, strlen(tok))) in perf_pmu__valid_suffix() 729 p = pmu_name + strlen(tok); in perf_pmu__valid_suffix() 747 bool pmu_uncore_alias_match(const char *pmu_name, const char *name) in pmu_uncore_alias_match() argument [all …]
|
D | env.h | 42 char *pmu_name; member 50 char *pmu_name; member 175 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name,
|
D | parse-events-hybrid.c | 66 evsel->pmu_name = strdup(pmu->name); in create_event_hybrid() 67 if (!evsel->pmu_name) in create_event_hybrid() 127 evsel->pmu_name = strdup(pmu->name); in create_raw_event_hybrid()
|
D | env.c | 217 zfree(&env->hybrid_nodes[i].pmu_name); in perf_env__exit() 226 zfree(&env->pmu_caps[i].pmu_name); in perf_env__exit() 535 char *perf_env__find_pmu_cap(struct perf_env *env, const char *pmu_name, in perf_env__find_pmu_cap() argument 543 if (!pmu_name || !cap) in perf_env__find_pmu_cap() 554 if (!strcmp(pmu_name, "cpu")) { in perf_env__find_pmu_cap() 565 if (strcmp(env->pmu_caps[i].pmu_name, pmu_name)) in perf_env__find_pmu_cap()
|
D | parse-events.y | 378 char pmu_name[128]; variable 379 snprintf(pmu_name, sizeof(pmu_name), "%s-%s-%s", $1, $3, $5); 383 if (parse_events_multi_pmu_add(_parse_state, pmu_name, NULL, &list) < 0) 391 char pmu_name[128]; variable 393 snprintf(pmu_name, sizeof(pmu_name), "%s-%s", $1, $3); 396 if (parse_events_multi_pmu_add(_parse_state, pmu_name, NULL, &list) < 0)
|
D | cputopo.c | 431 node->pmu_name = strdup(pmu->name); in load_hybrid_node() 432 if (!node->pmu_name) in load_hybrid_node() 458 zfree(&node->pmu_name); in load_hybrid_node() 494 zfree(&tp->nodes[i].pmu_name); in hybrid_topology__delete()
|
D | topdown.h | 12 const char *pmu_name);
|
D | print-events.h | 11 const char *pmu_name);
|
D | cputopo.h | 50 char *pmu_name; member
|
/linux-6.1.9/tools/perf/tests/ |
D | pmu-events.c | 374 char const *pmu_name) in compare_alias_to_test_event() argument 381 pmu_name, alias->name, event->name); in compare_alias_to_test_event() 387 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event() 393 pmu_name, alias->long_desc, in compare_alias_to_test_event() 400 pmu_name, alias->topic, event->topic); in compare_alias_to_test_event() 406 pmu_name, alias->str, test_event->alias_str); in compare_alias_to_test_event() 412 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event() 417 if (!is_same(alias->pmu_name, test_event->event.pmu)) { in compare_alias_to_test_event() 419 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event() 541 static int __test_core_pmu_event_aliases(char *pmu_name, int *count) in __test_core_pmu_event_aliases() argument [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-caps | 8 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-6.1.9/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | misc.c | 515 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-6.1.9/arch/x86/xen/ |
D | smp_pv.c | 118 char *callfunc_name, *pmu_name; in xen_smp_intr_init_pv() local 133 pmu_name = kasprintf(GFP_KERNEL, "pmu%d", cpu); in xen_smp_intr_init_pv() 134 per_cpu(xen_pmu_irq, cpu).name = pmu_name; in xen_smp_intr_init_pv() 138 pmu_name, NULL); in xen_smp_intr_init_pv()
|
/linux-6.1.9/tools/perf/arch/powerpc/util/ |
D | mem-events.c | 6 char *perf_mem_events__name(int i, char *pmu_name __maybe_unused) in perf_mem_events__name()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | cpu.c | 37 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-6.1.9/tools/perf/arch/arm64/util/ |
D | mem-events.c | 23 char *perf_mem_events__name(int i, char *pmu_name __maybe_unused) in perf_mem_events__name()
|