Home
last modified time | relevance | path

Searched refs:mexp (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dstat-shadow.c365 static int prepare_metric(const struct metric_expr *mexp, in prepare_metric() argument
370 struct evsel * const *metric_events = mexp->metric_events; in prepare_metric()
371 struct metric_ref *metric_refs = mexp->metric_refs; in prepare_metric()
419 mexp->metric_events[i]->pmu == evsel->metric_leader->pmu) { in prepare_metric()
425 if (pos->metric_leader != mexp->metric_events[i]) in prepare_metric()
470 struct metric_expr *mexp, in generic_metric() argument
476 const char *metric_name = mexp->metric_name; in generic_metric()
477 const char *metric_expr = mexp->metric_expr; in generic_metric()
478 const char *metric_threshold = mexp->metric_threshold; in generic_metric()
479 const char *metric_unit = mexp->metric_unit; in generic_metric()
[all …]
Dstat.h228 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
/linux-6.12.1/tools/perf/tests/
Dparse-metric.c51 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()
Dpmu-events.c933 struct metric_expr *mexp; in test__parsing_callback() local
935 list_for_each_entry (mexp, &me->head, nd) { in test__parsing_callback()
936 if (strcmp(mexp->metric_name, pm->metric_name)) in test__parsing_callback()
938 pr_debug("Result %f\n", test_generic_metric(mexp, 0)); in test__parsing_callback()