Lines Matching refs:metrics
132 static char *metrics;
1037 if (metrics) {
1040 if (asprintf(&tmp, "%s,%s", metrics, str) < 0)
1042 free(metrics);
1043 metrics = tmp;
1045 metrics = strdup(str);
1046 if (!metrics)
1080 fprintf(stderr, "Must define cputype before events/metrics\n");
1235 "Only print computed metrics. No raw values", enable_metric_only),
1239 "don't try to share events between metrics in a group"),
1245 "Set the metrics level for the top-down statistics (0: max level)"),
1248 OPT_CALLBACK('M', "metrics", &evsel_list, "metric/metric group list",
1249 "monitor specified metrics or metric groups (separated by ,)",
1282 "measure I/O performance metrics provided by arch/platform",
2063 /* Handle -T as -M transaction. Once platform specific metrics
2069 pr_err("Missing transaction metrics\n");
2099 pr_err("Missing smi metrics\n");
2129 pr_err("Invalid top-down metrics level. The max level is %u.\n", max_level);
2173 * Add TopdownL1 metrics if they exist. To minimize
2518 set_option_flag(stat_options, 'M', "metrics", PARSE_OPT_NONEG);
2713 * Metric parsing needs to be delayed as metrics may optimize events
2716 if (metrics) {
2718 int ret = metricgroup__parse_groups(evsel_list, pmu, metrics,
2727 zfree(&metrics);