Searched refs:metric_expr (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/tools/perf/util/ |
| H A D | metricgroup.h | 38 const char *metric_expr; member 45 struct metric_expr { struct 48 const char *metric_expr; argument
|
| H A D | metricgroup.c | 94 struct metric_expr *expr, *tmp; in metric_event_delete() 136 const char *metric_expr; member 238 m->metric_expr = pm->metric_expr; in metric__new() 395 const char *metric_expr; member 475 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups() 551 me->metric_expr, in metricgroup__print() 990 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric() 1002 expr = pm->metric_expr; in __add_metric() 1583 struct metric_expr *expr; in parse_groups() 1646 expr->metric_expr = m->metric_expr; in parse_groups() [all …]
|
| H A D | stat-shadow.c | 374 static int prepare_metric(const struct metric_expr *mexp, in prepare_metric() 488 struct metric_expr *mexp, in generic_metric() 495 const char *metric_expr = mexp->metric_expr; in generic_metric() local 520 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric() 536 if (strstr(metric_expr, "?")) in generic_metric() 566 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric() 578 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric() 642 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup()
|
| H A D | expr.c | 34 const char *metric_expr; member 200 data_ptr->ref.metric_expr = ref->metric_expr; in expr__add_ref() 208 ref->metric_name, ref->metric_expr); in expr__add_ref() 259 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
|
| H A D | stat.h | 240 struct metric_expr; 241 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
|
| /linux-6.15/tools/perf/pmu-events/ |
| H A D | pmu-events.h | 58 const char *metric_expr; member
|
| H A D | jevents.py | 349 self.metric_expr = None 351 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify() 452 metrics.append((event.pmu, event.metric_name, event.metric_expr)) 459 event.metric_expr = updates[event.metric_name]
|
| H A D | empty-pmu-events.c | 330 pm->metric_expr = (*p == '\0' ? NULL : p); in decompress_metric() 483 if (!pm.metric_expr) in pmu_metrics_table__for_each_metric_pmu()
|
| /linux-6.15/tools/perf/tests/ |
| H 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()
|
| H A D | parse-metric.c | 51 struct metric_expr *mexp; in compute_single()
|