Searched refs:metric_expr (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/tools/perf/util/ |
| D | metricgroup.c | 89 const char *metric_expr; member 155 struct metric_expr *expr; in metricgroup__setup_events() 173 eg->metric_name, eg->metric_expr); in metricgroup__setup_events() 183 expr = malloc(sizeof(struct metric_expr)); in metricgroup__setup_events() 188 expr->metric_expr = eg->metric_expr; in metricgroup__setup_events() 325 if (!pe->metric_expr) in metricgroup__print() 358 s, 8, "[", pe->metric_expr) < 0) in metricgroup__print() 415 if (!pe->metric_expr) in metricgroup__add_metric() 424 pr_debug("metric expr %s for %s\n", pe->metric_expr, pe->metric_name); in metricgroup__add_metric() 426 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.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() 1343 char *metric_expr; member 1442 aliases[j].metric_expr = alias->metric_expr; in print_pmu_events() [all …]
|
| D | pmu.h | 39 const char *metric_expr; member 60 char *metric_expr; member
|
| D | stat-shadow.c | 336 if (!counter->metric_expr) in perf_stat__collect_metric_expr() 340 if (expr__find_other(counter->metric_expr, counter->name, in perf_stat__collect_metric_expr() 396 counter->metric_expr = NULL; in perf_stat__collect_metric_expr() 723 const char *metric_expr, in generic_metric() argument 782 const char *p = metric_expr; in generic_metric() 1028 } else if (evsel->metric_expr) { in perf_stat__print_shadow_stats() 1029 generic_metric(config, evsel->metric_expr, evsel->metric_events, evsel->name, in perf_stat__print_shadow_stats() 1052 struct metric_expr *mexp; in perf_stat__print_shadow_stats() 1057 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 | 1379 evsel->metric_expr = info.metric_expr; in parse_events_add_pmu()
|
| D | evsel.c | 255 evsel->metric_expr = NULL; in evsel__init()
|
| /Linux-v5.4/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,
|