Searched refs:mexp (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | stat-shadow.c | 517 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric() argument 526 if (prepare_metric(mexp->metric_events, mexp->metric_refs, pctx, aggr_idx) < 0) in test_generic_metric() 529 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric() 593 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup() local 602 if (!mexp) in perf_stat__print_shadow_stats_metricgroup() 603 mexp = list_first_entry(&me->head, typeof(*mexp), nd); in perf_stat__print_shadow_stats_metricgroup() 605 list_for_each_entry_from(mexp, &me->head, nd) { in perf_stat__print_shadow_stats_metricgroup() 609 name = mexp in perf_stat__print_shadow_stats_metricgroup() [all...] |
H A D | stat.h | 227 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | parse-metric.c | 116 struct metric_expr *mexp; in compute_single() local 123 list_for_each_entry (mexp, &me->head, nd) { in compute_single() 124 if (strcmp(mexp->metric_name, name)) in compute_single() 126 return test_generic_metric(mexp, 0, st); in compute_single()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | parse-metric.c | 51 struct metric_expr *mexp; in compute_single() local 58 list_for_each_entry (mexp, &me->head, nd) { in compute_single() 59 if (strcmp(mexp->metric_name, name)) in compute_single() 61 return test_generic_metric(mexp, 0); in compute_single()
|
H A D | pmu-events.c | 873 struct metric_expr *mexp; in test__parsing_callback() local 875 list_for_each_entry (mexp, &me->head, nd) { in test__parsing_callback() 876 if (strcmp(mexp->metric_name, pm->metric_name)) in test__parsing_callback() 878 pr_debug("Result %f\n", test_generic_metric(mexp, 0)); in test__parsing_callback()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | stat-shadow.c | 906 double test_generic_metric(struct metric_expr *mexp, int cpu, struct runtime_stat *st) in test_generic_metric() argument 911 if (prepare_metric(mexp->metric_events, mexp->metric_refs, &pctx, cpu, st) < 0) in test_generic_metric() 914 if (expr__parse(&ratio, &pctx, mexp->metric_expr, 1)) in test_generic_metric() 1189 struct metric_expr *mexp; in perf_stat__print_shadow_stats() local 1191 list_for_each_entry (mexp, &me->head, nd) { in perf_stat__print_shadow_stats() 1194 generic_metric(config, mexp->metric_expr, mexp->metric_events, in perf_stat__print_shadow_stats() 1195 mexp->metric_refs, evsel->name, mexp in perf_stat__print_shadow_stats() [all...] |
H A D | stat.h | 248 double test_generic_metric(struct metric_expr *mexp, int cpu, struct runtime_stat *st);
|
Completed in 8 milliseconds