Home
last modified time | relevance | path

Searched refs:metric_id (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dmetricgroup.c259 const char *metric_id) in contains_metric_id() argument
264 if (!strcmp(evsel__metric_id(metric_events[i]), metric_id)) in contains_metric_id()
283 const char *metric_id; in setup_metric_events() local
309 metric_id = evsel__metric_id(ev); in setup_metric_events()
310 if (contains_metric_id(metric_events, matched_events, metric_id)) in setup_metric_events()
317 if (hashmap__find(ids, metric_id, &val_ptr)) { in setup_metric_events()
318 pr_debug("Matched metric-id %s to %s\n", metric_id, evsel__name(ev)); in setup_metric_events()
345 metric_id = evsel__metric_id(ev); in setup_metric_events()
347 if (!strcmp(evsel__metric_id(ev), metric_id)) in setup_metric_events()
617 if (!ev->metric_id) in decode_all_metric_ids()
[all …]
Dparse-events.c229 const char *name, const char *metric_id, struct perf_pmu *pmu, in __add_event() argument
271 if (metric_id) in __add_event()
272 evsel->metric_id = strdup(metric_id); in __add_event()
284 const char *name, const char *metric_id, in parse_events__add_event() argument
288 metric_id, pmu, /*config_terms=*/NULL, in parse_events__add_event()
294 const char *metric_id, struct list_head *config_terms) in add_event() argument
296 return __add_event(list, idx, attr, /*init_attr*/true, name, metric_id, in add_event()
462 const char *metric_id = get_config_metric_id(parsed_terms); in parse_events_add_cache() local
509 metric_id, pmu, &config_terms, /*auto_merge_stats=*/false, in parse_events_add_cache()
1364 const char *name, *metric_id; in __parse_events_add_numeric() local
[all …]
Dintel-tpebs.c362 (evsel->metric_id && !strcmp(t->tpebs_name, evsel->metric_id))) { in tpebs_set_evsel()
Dparse-events.h237 const char *name, const char *metric_id,
Devsel.c411 if (orig->metric_id) { in evsel__clone()
412 evsel->metric_id = strdup(orig->metric_id); in evsel__clone()
413 if (evsel->metric_id == NULL) in evsel__clone()
810 if (evsel->metric_id) in evsel__metric_id()
811 return evsel->metric_id; in evsel__metric_id()
1500 zfree(&evsel->metric_id); in evsel__exit()
Devsel.h85 const char *metric_id; member
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_com.h1031 enum ena_admin_customer_metrics_id metric_id) in ena_com_get_customer_metric_support() argument
1033 return !!(ena_dev->customer_metrics.supported_metrics & BIT(metric_id)); in ena_com_get_customer_metric_support()
/linux-6.12.1/drivers/net/wireless/marvell/libertas/
Dmesh.c798 static DEVICE_ATTR_RW(metric_id);