Searched refs:metric_expr (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | stat-shadow.c | 46 const struct metric_expr *mexp, in prepare_metric() 128 struct metric_expr *mexp, in generic_metric() 135 const char *metric_expr = mexp->metric_expr; in generic_metric() local 160 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric() 176 if (strstr(metric_expr, "?")) in generic_metric() 206 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric() 218 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric() 279 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup()
|
| H A D | metricgroup.h | 38 const char *metric_expr; member 45 struct metric_expr { struct 48 const char *metric_expr; member
|
| H A D | metricgroup.c | 94 struct metric_expr *expr, *tmp; in metric_event_delete() 136 const char *metric_expr; member 248 m->metric_expr = pm->metric_expr; in metric__new() 410 if (!pm->metric_expr || !pm->compat) in metricgroup__sys_event_iter() 886 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric() 890 root_metric->metric_refs[cnt+1].metric_expr = NULL; in __add_metric() 898 expr = pm->metric_expr; in __add_metric() 953 pr_debug("metric expr %s for %s\n", pm->metric_expr, pm->metric_name); in add_metric() 955 if (!strstr(pm->metric_expr, "?")) { in add_metric() 1043 if (pm->metric_expr && match_pm_metric_or_groups(pm, data->pmu, data->metric_name)) { in metricgroup__add_metric_callback() [all …]
|
| H A D | print-events.c | 193 const char *metric_expr; member 276 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups_callback() 308 me->metric_expr, in metricgroup__print()
|
| H A D | expr.c | 34 const char *metric_expr; member 204 data_ptr->ref.metric_expr = ref->metric_expr; in expr__add_ref() 212 ref->metric_name, ref->metric_expr); in expr__add_ref() 263 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
|
| H A D | stat.h | 207 struct metric_expr; 208 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
|
| H A D | python.c | 1321 struct metric_expr *expr = container_of(pos, struct metric_expr, nd); in pyrf_evlist__metrics() 1334 static int prepare_metric(const struct metric_expr *mexp, in prepare_metric() 1413 struct metric_expr *mexp = NULL; in pyrf_evlist__compute_metric() 1428 struct metric_expr *e = container_of(pos, struct metric_expr, nd); in pyrf_evlist__compute_metric() 1472 if (expr__parse(&result, pctx, mexp->metric_expr)) in pyrf_evlist__compute_metric() 2050 struct metric_expr *e = container_of(mpos, struct metric_expr, nd); in pyrf_evlist__from_evlist() 2167 !add_to_dict(dict, "MetricExpr", pm->metric_expr) || in pyrf__metrics_cb()
|
| /linux/tools/perf/pmu-events/ |
| H A D | pmu-events.h | 67 const char *metric_expr; member
|
| H A D | jevents.py | 362 self.metric_expr = None 364 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify() 472 metrics.append((event.pmu, event.metric_name, event.metric_expr)) 479 event.metric_expr = updates[event.metric_name]
|
| H A D | empty-pmu-events.c | 2894 pm->metric_expr = (*p == '\0' ? NULL : p); in decompress_metric() 3055 if (!pm.metric_expr) in pmu_metrics_table__for_each_metric_pmu()
|
| /linux/tools/perf/tests/ |
| H A D | pmu-events.c | 831 if (!pm->metric_expr) in test__parsing_callback() 881 struct metric_expr *mexp; in test__parsing_callback() 996 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()
|
| /linux/tools/perf/ |
| H A D | builtin-script.c | 2240 struct metric_expr *expr; in script_find_metrics()
|