Lines Matching defs:metrics
132 static char *metrics;
1057 if (metrics) {
1060 if (asprintf(&tmp, "%s,%s", metrics, str) < 0)
1062 free(metrics);
1063 metrics = tmp;
1065 metrics = strdup(str);
1066 if (!metrics)
1100 fprintf(stderr, "Must define cputype before events/metrics\n");
1252 "Only print computed metrics. No raw values", enable_metric_only),
1256 "don't try to share events between metrics in a group"),
1258 "don't try to share events between metrics in a group "),
1262 "Set the metrics level for the top-down statistics (0: max level)"),
1265 OPT_CALLBACK('M', "metrics", &evsel_list, "metric/metric group list",
1266 "monitor specified metrics or metric groups (separated by ,)",
1299 "measure I/O performance metrics provided by arch/platform",
2049 /* Handle -T as -M transaction. Once platform specific metrics
2055 pr_err("Missing transaction metrics\n");
2084 pr_err("Missing smi metrics\n");
2113 pr_err("Invalid top-down metrics level. The max level is %u.\n", max_level);
2156 * Add TopdownL1 metrics if they exist. To minimize
2498 set_option_flag(stat_options, 'M', "metrics", PARSE_OPT_NONEG);
2693 * Metric parsing needs to be delayed as metrics may optimize events
2696 if (metrics) {
2698 int ret = metricgroup__parse_groups(evsel_list, pmu, metrics,
2706 zfree(&metrics);