Searched refs:metric_expr (Results 1 – 11 of 11) sorted by relevance
/tools/perf/util/ |
D | metricgroup.c | 89 const char *metric_expr; member 158 struct metric_expr *expr; in metricgroup__setup_events() 176 eg->metric_name, eg->metric_expr); in metricgroup__setup_events() 188 expr = malloc(sizeof(struct metric_expr)); in metricgroup__setup_events() 194 expr->metric_expr = eg->metric_expr; in metricgroup__setup_events() 331 if (!pe->metric_expr) in metricgroup__print() 364 s, 8, "[", pe->metric_expr) < 0) in metricgroup__print() 421 if (!pe->metric_expr) in metricgroup__add_metric() 430 pr_debug("metric expr %s for %s\n", pe->metric_expr, pe->metric_name); in metricgroup__add_metric() 432 if (expr__find_other(pe->metric_expr, in metricgroup__add_metric() [all …]
|
D | metricgroup.h | 19 struct metric_expr { struct 21 const char *metric_expr; member
|
D | pmu.h | 39 const char *metric_expr; member 60 char *metric_expr; member
|
D | pmu.c | 263 perf_pmu_assign_str(old->name, "metric_expr", &old->metric_expr, in perf_pmu_update_alias() 264 &newalias->metric_expr); in perf_pmu_update_alias() 282 zfree(&newalias->metric_expr); in perf_pmu_free_alias() 310 char *metric_expr, in __perf_pmu__new_alias() argument 368 alias->metric_expr = metric_expr ? strdup(metric_expr) : NULL; in __perf_pmu__new_alias() 789 (char *)pe->metric_expr, in pmu_add_cpu_aliases() 1230 info->metric_expr = NULL; in perf_pmu__check_alias() 1247 info->metric_expr = alias->metric_expr; in perf_pmu__check_alias() 1354 char *metric_expr; member 1453 aliases[j].metric_expr = alias->metric_expr; in print_pmu_events() [all …]
|
D | stat-shadow.c | 334 if (!counter->metric_expr) in perf_stat__collect_metric_expr() 338 if (expr__find_other(counter->metric_expr, counter->name, in perf_stat__collect_metric_expr() 394 counter->metric_expr = NULL; in perf_stat__collect_metric_expr() 721 const char *metric_expr, in generic_metric() argument 780 const char *p = metric_expr; in generic_metric() 1022 } else if (evsel->metric_expr) { in perf_stat__print_shadow_stats() 1023 generic_metric(config, evsel->metric_expr, evsel->metric_events, evsel->name, in perf_stat__print_shadow_stats() 1046 struct metric_expr *mexp; in perf_stat__print_shadow_stats() 1051 generic_metric(config, mexp->metric_expr, mexp->metric_events, in perf_stat__print_shadow_stats()
|
D | evsel.h | 91 const char * metric_expr; member
|
D | parse-events.c | 1386 evsel->metric_expr = info.metric_expr; in parse_events_add_pmu()
|
D | evsel.c | 255 evsel->metric_expr = NULL; in evsel__init()
|
/tools/perf/pmu-events/ |
D | jevents.c | 324 char *metric_expr, in print_events_table_entry() argument 351 if (metric_expr) in print_events_table_entry() 352 fprintf(outfp, "\t.metric_expr = \"%s\",\n", metric_expr); in print_events_table_entry() 371 char *metric_expr; member 398 op(metric_expr); \ 418 char *unit, char *perpkg, char *metric_expr, in save_arch_std_events() argument 481 char **perpkg, char **unit, char **metric_expr, char **metric_name, in try_fixup() argument 509 char *metric_expr, in json_events() argument 536 char *metric_expr = NULL; in json_events() local 622 addfield(map, &metric_expr, "", "", val); in json_events() [all …]
|
D | pmu-events.h | 17 const char *metric_expr; member
|
D | jevents.h | 9 char *unit, char *perpkg, char *metric_expr,
|