Searched refs:metric_events (Results 1 – 12 of 12) sorted by relevance
/linux/tools/perf/tests/ |
A D | expand-cgroup.c | 17 struct rblist *metric_events) in test_expand_events() argument 103 struct rblist metric_events; in expand_default_events() local 108 rblist__init(&metric_events); in expand_default_events() 118 struct rblist metric_events; in expand_group_events() local 136 rblist__init(&metric_events); in expand_group_events() 148 struct rblist metric_events; in expand_libpfm_events() local 170 rblist__init(&metric_events); in expand_libpfm_events() 181 struct rblist metric_events; in expand_metric_events() local 208 rblist__init(&metric_events); in expand_metric_events() 210 false, false, &metric_events); in expand_metric_events() [all …]
|
A D | parse-metric.c | 121 static double compute_single(struct rblist *metric_events, struct evlist *evlist, in compute_single() argument 129 me = metricgroup__lookup(metric_events, evsel, false); in compute_single() 145 struct rblist metric_events = { in __compute_metric() local 173 &metric_events); in __compute_metric() 186 *ratio1 = compute_single(&metric_events, evlist, &st, name1); in __compute_metric() 188 *ratio2 = compute_single(&metric_events, evlist, &st, name2); in __compute_metric() 192 metricgroup__rblist_exit(&metric_events); in __compute_metric()
|
/linux/tools/perf/util/ |
A D | metricgroup.c | 40 if (!metric_events) in metricgroup__lookup() 91 free(expr->metric_events); in metric_event_delete() 100 rblist__init(metric_events); in metricgroup__rblist_init() 108 rblist__exit(metric_events); in metricgroup__rblist_exit() 258 struct evsel **metric_events; in setup_metric_events() local 267 if (!metric_events) in setup_metric_events() 296 free(metric_events); in setup_metric_events() 300 ev = metric_events[i]; in setup_metric_events() 1457 free(metric_events); in parse_groups() 1476 free(metric_events); in parse_groups() [all …]
|
A D | metricgroup.h | 58 struct evsel **metric_events; member 65 struct metric_event *metricgroup__lookup(struct rblist *metric_events, 72 struct rblist *metric_events); 80 struct rblist *metric_events); 86 void metricgroup__rblist_exit(struct rblist *metric_events);
|
A D | stat-shadow.c | 393 metric_events = counter->metric_events; in perf_stat__collect_metric_expr() 394 if (!metric_events) { in perf_stat__collect_metric_expr() 402 if (!metric_events) { in perf_stat__collect_metric_expr() 406 counter->metric_events = metric_events; in perf_stat__collect_metric_expr() 453 metric_events[i++] = oc; in perf_stat__collect_metric_expr() 456 metric_events[i] = NULL; in perf_stat__collect_metric_expr() 458 free(metric_events); in perf_stat__collect_metric_expr() 459 counter->metric_events = NULL; in perf_stat__collect_metric_expr() 841 metric_events[i]->cgrp); in prepare_metric() 871 struct evsel **metric_events, in generic_metric() argument [all …]
|
A D | cgroup.c | 396 struct rblist *metric_events, bool open_cgroup) in evlist__expand_cgroup() argument 422 if (metric_events) { in evlist__expand_cgroup() 423 orig_metric_events = *metric_events; in evlist__expand_cgroup() 424 rblist__init(metric_events); in evlist__expand_cgroup() 470 if (metric_events) { in evlist__expand_cgroup() 473 metric_events, in evlist__expand_cgroup()
|
A D | stat.h | 156 struct rblist metric_events; member 224 struct rblist *metric_events,
|
A D | cgroup.h | 31 struct rblist *metric_events, bool open_cgroup);
|
A D | evsel.h | 99 struct evsel **metric_events; member
|
A D | stat-display.c | 509 &out, &config->metric_events, st); in printout() 1010 &config->metric_events, in print_metric_headers()
|
A D | evsel.c | 258 evsel->metric_events = NULL; in evsel__init() 1448 zfree(&evsel->metric_events); in evsel__exit()
|
/linux/tools/perf/ |
A D | builtin-stat.c | 1148 &stat_config.metric_events); in parse_metric_groups() 1770 &stat_config.metric_events); in add_default_attributes() 2433 &stat_config.metric_events, true) < 0) { in cmd_stat() 2612 metricgroup__rblist_exit(&stat_config.metric_events); in cmd_stat()
|
Completed in 29 milliseconds