Home
last modified time | relevance | path

Searched refs:metric_id (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/util/
H A Dmetricgroup.c257 const char *metric_id) in contains_metric_id()
262 if (!strcmp(evsel__metric_id(metric_events[i]), metric_id)) in contains_metric_id()
281 const char *metric_id; in setup_metric_events() local
307 metric_id = evsel__metric_id(ev); in setup_metric_events()
308 if (contains_metric_id(metric_events, matched_events, metric_id)) in setup_metric_events()
315 if (hashmap__find(ids, metric_id, &val_ptr)) { in setup_metric_events()
316 pr_debug("Matched metric-id %s to %s\n", metric_id, evsel__name(ev)); 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()
256 contains_metric_id(struct evsel **metric_events, int num_events, const char *metric_id) contains_metric_id() argument
[all...]
H A Dparse-events.c228 const char *name, const char *metric_id, struct perf_pmu *pmu, in __add_event()
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()
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()
295 return __add_event(list, idx, attr, /*init_attr*/true, name, metric_id, in add_event()
310 /*metric_id=*/NULL, /*pmu=*/NULL, in add_event_tool()
450 const char *metric_id in parse_events_add_cache() local
225 __add_event(struct list_head *list, int *idx, struct perf_event_attr *attr, bool init_attr, const char *name, const char *metric_id, struct perf_pmu *pmu, struct list_head *config_terms, bool auto_merge_stats, const char *cpu_list) __add_event() argument
282 parse_events__add_event(int idx, struct perf_event_attr *attr, const char *name, const char *metric_id, struct perf_pmu *pmu) parse_events__add_event() argument
291 add_event(struct list_head *list, int *idx, struct perf_event_attr *attr, const char *name, const char *metric_id, struct list_head *config_terms) add_event() argument
1291 const char *name, *metric_id; __parse_events_add_numeric() local
[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
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A Dmesh.c649 * metric_id_get - Get function for sysfs attribute metric_id
669 * metric_id_set - Set function for sysfs attribute metric_id
776 static DEVICE_ATTR(metric_id, 0644, metric_id_get, metric_id_set);
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
H A Dmesh.c669 * metric_id_show - Get function for sysfs attribute metric_id
689 * metric_id_store - Set function for sysfs attribute metric_id
798 static DEVICE_ATTR_RW(metric_id);

Completed in 13 milliseconds