Home
last modified time | relevance | path

Searched refs:metric_name (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/tools/perf/pmu-events/
Dempty-pmu-events.c118 .metric_name = "CPI",
122 .metric_name = "IPC",
128 .metric_name = "Frontend_Bound_SMT",
132 .metric_name = "dcache_miss_cpi",
136 .metric_name = "icache_miss_cycles",
140 .metric_name = "cache_miss_cycles",
145 .metric_name = "DCache_L2_All_Hits",
150 .metric_name = "DCache_L2_All_Miss",
154 .metric_name = "DCache_L2_All",
158 .metric_name = "DCache_L2_Hits",
[all …]
Djevents.py322 self.metric_name = jd.get('MetricName')
414 if event.metric_name and '-' not in event.metric_name:
415 metrics.append((event.pmu, event.metric_name, event.metric_expr))
419 if event.metric_name in updates:
422 event.metric_expr = updates[event.metric_name]
434 if event.metric_name:
435 _arch_std_events[event.metric_name.lower()] = event
443 if e.metric_name:
457 fix_none(j.metric_name))
512 return (j.desc is not None, fix_none(j.pmu), fix_none(j.metric_name))
[all …]
Dpmu-events.h56 const char *metric_name; member
/linux-6.6.21/tools/perf/util/
Dmetricgroup.c94 zfree(&expr->metric_name); in metric_event_delete()
129 const char *metric_name; member
187 metric__watchdog_constraint_hint(pm->metric_name, /*foot=*/false); in metric__group_events()
227 m->metric_name = pm->metric_name; in metric__new()
382 match_metric(pm->metric_name, metric); in match_pm_metric()
391 const char *metric_name; member
409 return strcmp(a->metric_name, b->metric_name); in mep_cmp()
433 const char *metric_name) in mep_lookup() argument
438 .metric_name = metric_name, in mep_lookup()
467 me = mep_lookup(groups, g, pm->metric_name); in metricgroup__add_to_mep_groups()
[all …]
Dstat-shadow.c433 for (int j = 0; metric_refs && metric_refs[j].metric_name; j++) { in prepare_metric()
449 const char *metric_name, in generic_metric() argument
487 if (metric_unit && metric_name) { in generic_metric()
494 "%s %s_%d", unit, metric_name, runtime); in generic_metric()
497 "%s %s", unit, metric_name); in generic_metric()
503 metric_name ? in generic_metric()
504 metric_name : in generic_metric()
511 (metric_name ? metric_name : name) : "", 0); in generic_metric()
516 (metric_name ? metric_name : name) : "", 0); in generic_metric()
635 mexp->metric_name, mexp->metric_unit, mexp->runtime, in perf_stat__print_shadow_stats_metricgroup()
Dexpr.c40 const char *metric_name; member
194 name = strdup(ref->metric_name); in expr__add_ref()
206 data_ptr->ref.metric_name = ref->metric_name; in expr__add_ref()
215 ref->metric_name, ref->metric_expr); in expr__add_ref()
261 data->ref.metric_name); in expr__resolve_id()
272 data->ref.val, data->ref.metric_name); in expr__resolve_id()
Dmetricgroup.h37 const char *metric_name; member
50 const char *metric_name; member
/linux-6.6.21/tools/perf/tests/
Dpmu-events.c824 pr_debug("Found metric '%s'\n", pm->metric_name); in test__parsing_callback()
843 err = metricgroup__parse_groups_test(evlist, table, pm->metric_name, &metric_events); in test__parsing_callback()
845 if (!strcmp(pm->metric_name, "M1") || !strcmp(pm->metric_name, "M2") || in test__parsing_callback()
846 !strcmp(pm->metric_name, "M3")) { in test__parsing_callback()
848 pr_debug("Expected broken metric %s skipping\n", pm->metric_name); in test__parsing_callback()
876 if (strcmp(mexp->metric_name, pm->metric_name)) in test__parsing_callback()
885 pr_debug("Didn't find parsed metric %s", pm->metric_name); in test__parsing_callback()
889 pr_debug("Broken metric %s\n", pm->metric_name); in test__parsing_callback()
922 static int metric_parse_fake(const char *metric_name, const char *str) in metric_parse_fake() argument
931 pr_debug("parsing '%s': '%s'\n", metric_name, str); in metric_parse_fake()
[all …]
Dparse-metric.c59 if (strcmp(mexp->metric_name, name)) in compute_single()