Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dmetricgroup.c257 const char *metric_id) in contains_metric_id() argument
281 const char *metric_id; in setup_metric_events() local
307 metric_id = evsel__metric_id(ev); in setup_metric_events()
315 if (hashmap__find(ids, metric_id, &val_ptr)) { in setup_metric_events()
343 metric_id = evsel__metric_id(ev); in setup_metric_events()
345 if (!strcmp(evsel__metric_id(ev), metric_id)) in setup_metric_events()
617 if (!ev->metric_id) in decode_all_metric_ids()
624 ret = decode_metric_id(&sb, ev->metric_id); in decode_all_metric_ids()
628 free((char *)ev->metric_id); in decode_all_metric_ids()
629 ev->metric_id = strdup(sb.buf); in decode_all_metric_ids()
[all …]
H A Dparse-events.c228 const char *name, const char *metric_id, struct perf_pmu *pmu, in __add_event() argument
270 if (metric_id) in __add_event()
271 evsel->metric_id = strdup(metric_id); in __add_event()
283 const char *name, const char *metric_id, in parse_events__add_event() argument
287 metric_id, pmu, /*config_terms=*/NULL, in parse_events__add_event()
293 const char *metric_id, struct list_head *config_terms) in add_event() argument
450 const char *metric_id = get_config_metric_id(head_config); in parse_events_add_cache() local
479 metric_id, pmu, &config_terms, /*auto_merge_stats=*/false, in parse_events_add_cache()
1291 const char *name, *metric_id; in __parse_events_add_numeric() local
1312 metric_id = get_config_metric_id(head_config); in __parse_events_add_numeric()
[all …]
H A Dparse-events.h216 const char *name, const char *metric_id,
H A Devsel.c406 if (orig->metric_id) { in evsel__clone()
407 evsel->metric_id = strdup(orig->metric_id); in evsel__clone()
408 if (evsel->metric_id == NULL) in evsel__clone()
799 if (evsel->metric_id) in evsel__metric_id()
800 return evsel->metric_id; in evsel__metric_id()
1483 zfree(&evsel->metric_id); in evsel__exit()
H A Devsel.h85 const char *metric_id; member
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c798 static DEVICE_ATTR_RW(metric_id);