Searched refs:metric_expr (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/perf/util/ |
| A D | metricgroup.h | 38 const char *metric_expr; member 45 struct metric_expr { struct 48 const char *metric_expr; argument
|
| A D | metricgroup.c | 93 struct metric_expr *expr, *tmp; in metric_event_delete() 135 const char *metric_expr; member 237 m->metric_expr = pm->metric_expr; in metric__new() 394 const char *metric_expr; member 474 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups() 550 me->metric_expr, in metricgroup__print() 989 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric() 1001 expr = pm->metric_expr; in __add_metric() 1582 struct metric_expr *expr; in parse_groups() 1645 expr->metric_expr = m->metric_expr; in parse_groups() [all …]
|
| A D | stat-shadow.c | 365 static int prepare_metric(const struct metric_expr *mexp, in prepare_metric() 470 struct metric_expr *mexp, in generic_metric() 477 const char *metric_expr = mexp->metric_expr; in generic_metric() local 502 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric() 518 if (strstr(metric_expr, "?")) in generic_metric() 548 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric() 560 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric() 624 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup()
|
| A D | expr.c | 37 const char *metric_expr; member 203 data_ptr->ref.metric_expr = ref->metric_expr; in expr__add_ref() 211 ref->metric_name, ref->metric_expr); in expr__add_ref() 260 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
|
| A D | stat.h | 227 struct metric_expr; 228 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
|
| /linux/tools/perf/pmu-events/ |
| A D | pmu-events.h | 58 const char *metric_expr; member
|
| A D | jevents.py | 348 self.metric_expr = None 350 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify() 448 metrics.append((event.pmu, event.metric_name, event.metric_expr)) 455 event.metric_expr = updates[event.metric_name]
|
| A D | empty-pmu-events.c | 284 pm->metric_expr = (*p == '\0' ? NULL : p); in decompress_metric() 437 if (!pm.metric_expr) in pmu_metrics_table__for_each_metric_pmu()
|
| /linux/tools/perf/tests/ |
| A D | pmu-events.c | 881 if (!pm->metric_expr) in test__parsing_callback() 933 struct metric_expr *mexp; in test__parsing_callback() 1049 return metric_parse_fake(pm->metric_name, pm->metric_expr); in test__parsing_fake_callback()
|
| A D | parse-metric.c | 51 struct metric_expr *mexp; in compute_single()
|
Completed in 26 milliseconds