metric_events 723 tools/perf/builtin-stat.c return metricgroup__parse_groups(opt, str, &stat_config.metric_events); metric_events 1267 tools/perf/builtin-stat.c &stat_config.metric_events); metric_events 257 tools/perf/util/evsel.c evsel->metric_events = NULL; metric_events 93 tools/perf/util/evsel.h struct evsel **metric_events; metric_events 26 tools/perf/util/metricgroup.c struct metric_event *metricgroup__lookup(struct rblist *metric_events, metric_events 35 tools/perf/util/metricgroup.c if (!metric_events) metric_events 38 tools/perf/util/metricgroup.c nd = rblist__find(metric_events, &me); metric_events 42 tools/perf/util/metricgroup.c rblist__add_node(metric_events, &me); metric_events 43 tools/perf/util/metricgroup.c nd = rblist__find(metric_events, &me); metric_events 77 tools/perf/util/metricgroup.c static void metricgroup__rblist_init(struct rblist *metric_events) metric_events 79 tools/perf/util/metricgroup.c rblist__init(metric_events); metric_events 80 tools/perf/util/metricgroup.c metric_events->node_cmp = metric_event_cmp; metric_events 81 tools/perf/util/metricgroup.c metric_events->node_new = metric_event_new; metric_events 96 tools/perf/util/metricgroup.c struct evsel **metric_events) metric_events 104 tools/perf/util/metricgroup.c if (!metric_events[i]) metric_events 105 tools/perf/util/metricgroup.c metric_events[i] = ev; metric_events 113 tools/perf/util/metricgroup.c memset(metric_events, 0, metric_events 119 tools/perf/util/metricgroup.c metric_events[i] = ev; metric_events 123 tools/perf/util/metricgroup.c memset(metric_events, 0, metric_events 135 tools/perf/util/metricgroup.c metric_events[idnum] = NULL; metric_events 140 tools/perf/util/metricgroup.c if (!leader_found && (ev == metric_events[i])) metric_events 144 tools/perf/util/metricgroup.c !strcmp(ev->name, metric_events[i]->name)) { metric_events 145 tools/perf/util/metricgroup.c ev->metric_leader = metric_events[i]; metric_events 150 tools/perf/util/metricgroup.c return metric_events[0]; metric_events 165 tools/perf/util/metricgroup.c struct evsel **metric_events; metric_events 167 tools/perf/util/metricgroup.c metric_events = calloc(sizeof(void *), eg->idnum + 1); metric_events 168 tools/perf/util/metricgroup.c if (!metric_events) { metric_events 173 tools/perf/util/metricgroup.c metric_events); metric_events 180 tools/perf/util/metricgroup.c metric_events[i]->collect_stat = true; metric_events 194 tools/perf/util/metricgroup.c expr->metric_events = metric_events; metric_events 515 tools/perf/util/metricgroup.c struct rblist *metric_events) metric_events 523 tools/perf/util/metricgroup.c if (metric_events->nr_entries == 0) metric_events 524 tools/perf/util/metricgroup.c metricgroup__rblist_init(metric_events); metric_events 537 tools/perf/util/metricgroup.c metric_events); metric_events 24 tools/perf/util/metricgroup.h struct evsel **metric_events; metric_events 27 tools/perf/util/metricgroup.h struct metric_event *metricgroup__lookup(struct rblist *metric_events, metric_events 32 tools/perf/util/metricgroup.h struct rblist *metric_events); metric_events 485 tools/perf/util/stat-display.c &out, &config->metric_events, st); metric_events 946 tools/perf/util/stat-display.c &config->metric_events, metric_events 324 tools/perf/util/stat-shadow.c struct evsel *counter, *leader, **metric_events, *oc; metric_events 336 tools/perf/util/stat-shadow.c metric_events = counter->metric_events; metric_events 337 tools/perf/util/stat-shadow.c if (!metric_events) { metric_events 342 tools/perf/util/stat-shadow.c metric_events = calloc(sizeof(struct evsel *), metric_events 344 tools/perf/util/stat-shadow.c if (!metric_events) metric_events 346 tools/perf/util/stat-shadow.c counter->metric_events = metric_events; metric_events 386 tools/perf/util/stat-shadow.c metric_events[i] = oc; metric_events 389 tools/perf/util/stat-shadow.c metric_events[i] = NULL; metric_events 392 tools/perf/util/stat-shadow.c free(metric_events); metric_events 393 tools/perf/util/stat-shadow.c counter->metric_events = NULL; metric_events 722 tools/perf/util/stat-shadow.c struct evsel **metric_events, metric_events 741 tools/perf/util/stat-shadow.c for (i = 0; metric_events[i]; i++) { metric_events 746 tools/perf/util/stat-shadow.c if (!strcmp(metric_events[i]->name, "duration_time")) { metric_events 750 tools/perf/util/stat-shadow.c v = saved_value_lookup(metric_events[i], cpu, false, metric_events 761 tools/perf/util/stat-shadow.c n = strdup(metric_events[i]->name); metric_events 779 tools/perf/util/stat-shadow.c if (!metric_events[i]) { metric_events 819 tools/perf/util/stat-shadow.c struct rblist *metric_events, metric_events 1023 tools/perf/util/stat-shadow.c generic_metric(config, evsel->metric_expr, evsel->metric_events, evsel->name, metric_events 1045 tools/perf/util/stat-shadow.c if ((me = metricgroup__lookup(metric_events, evsel, false)) != NULL) { metric_events 1051 tools/perf/util/stat-shadow.c generic_metric(config, mexp->metric_expr, mexp->metric_events, metric_events 128 tools/perf/util/stat.h struct rblist metric_events; metric_events 189 tools/perf/util/stat.h struct rblist *metric_events,