Searched refs:mexp (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/perf/util/ |
H A D | stat-shadow.c | 358 static int prepare_metric(const struct metric_expr *mexp, argument 363 struct evsel * const *metric_events = mexp->metric_events; 364 struct metric_ref *metric_refs = mexp->metric_refs; 412 mexp->metric_events[i]->pmu == evsel->metric_leader->pmu) { 418 if (pos->metric_leader != mexp->metric_events[i]) 463 struct metric_expr *mexp, 469 const char *metric_name = mexp->metric_name; 470 const char *metric_expr = mexp->metric_expr; 471 const char *metric_threshold = mexp->metric_threshold; 472 const char *metric_unit = mexp 462 generic_metric(struct perf_stat_config *config, struct metric_expr *mexp, struct evsel *evsel, int aggr_idx, struct perf_stat_output_ctx *out) argument 541 test_generic_metric(struct metric_expr *mexp, int aggr_idx) argument 617 struct metric_expr *mexp = from; local [all...] |
H A D | stat.h | 227 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
|
/linux-master/tools/perf/tests/ |
H A D | parse-metric.c | 51 struct metric_expr *mexp; local 58 list_for_each_entry (mexp, &me->head, nd) { 59 if (strcmp(mexp->metric_name, name)) 61 return test_generic_metric(mexp, 0);
|
H A D | pmu-events.c | 934 struct metric_expr *mexp; local 936 list_for_each_entry (mexp, &me->head, nd) { 937 if (strcmp(mexp->metric_name, pm->metric_name)) 939 pr_debug("Result %f\n", test_generic_metric(mexp, 0));
|
Completed in 180 milliseconds