Lines Matching refs:prefix
148 const char *prefix; member
169 fputs(os->prefix, os->fh); in do_new_line_std()
209 if (os->prefix) in new_line_csv()
210 fprintf(os->fh, "%s%s", os->prefix, config->csv_sep); in new_line_csv()
410 char *prefix, u64 run, u64 ena, double noise, in printout() argument
416 .prefix = prefix ? prefix : "", in printout()
667 char *prefix, bool metric_only, in print_counter_aggrdata() argument
694 if (prefix && !metric_only) in print_counter_aggrdata()
695 fprintf(output, "%s", prefix); in print_counter_aggrdata()
703 prefix, run, ena, 1.0, &rt_stat); in print_counter_aggrdata()
710 char *prefix) in print_aggr() argument
728 if (prefix && metric_only) in print_aggr()
729 fprintf(output, "%s", prefix); in print_aggr()
734 prefix, metric_only, in print_aggr()
800 struct evsel *counter, char *prefix) in print_aggr_thread() argument
816 if (prefix) in print_aggr_thread()
817 fprintf(output, "%s", prefix); in print_aggr_thread()
822 prefix, buf[thread].run, buf[thread].ena, 1.0, in print_aggr_thread()
826 prefix, buf[thread].run, buf[thread].ena, 1.0, in print_aggr_thread()
855 struct evsel *counter, char *prefix) in print_counter_aggr() argument
865 if (prefix && !metric_only) in print_counter_aggr()
866 fprintf(output, "%s", prefix); in print_counter_aggr()
869 printout(config, cpu_map__empty_aggr_cpu_id(), 0, counter, uval, prefix, cd.avg_running, in print_counter_aggr()
891 struct evsel *counter, char *prefix) in print_counter() argument
908 if (prefix) in print_counter()
909 fprintf(output, "%s", prefix); in print_counter()
914 printout(config, id, 0, counter, uval, prefix, in print_counter()
923 char *prefix) in print_no_aggr_metric() argument
936 if (prefix) in print_no_aggr_metric()
937 fputs(prefix, config->output); in print_no_aggr_metric()
950 printout(config, id, 0, counter, uval, prefix, in print_no_aggr_metric()
977 const char *prefix, bool no_indent) in print_metric_headers() argument
985 if (prefix) in print_metric_headers()
986 fprintf(config->output, "%s", prefix); in print_metric_headers()
1018 char *prefix, struct timespec *ts) in print_interval() argument
1029 sprintf(prefix, "%6lu.%09lu%s", (unsigned long) ts->tv_sec, ts->tv_nsec, config->csv_sep); in print_interval()
1207 struct evsel *counter, char *prefix) in print_percore_thread() argument
1222 prefix, false, in print_percore_thread()
1228 struct evsel *counter, char *prefix) in print_percore() argument
1239 return print_percore_thread(config, counter, prefix); in print_percore()
1242 if (prefix && metric_only) in print_percore()
1243 fprintf(output, "%s", prefix); in print_percore()
1246 prefix, metric_only, in print_percore()
1260 char buf[64], *prefix = NULL; in evlist__print_counters() local
1266 print_interval(config, evlist, prefix = buf, ts); in evlist__print_counters()
1274 print_metric_headers(config, evlist, prefix, false); in evlist__print_counters()
1277 if (config->aggr_mode == AGGR_GLOBAL && prefix && !config->iostat_run) in evlist__print_counters()
1278 fprintf(config->output, "%s", prefix); in evlist__print_counters()
1286 print_aggr(config, evlist, prefix); in evlist__print_counters()
1290 print_aggr_thread(config, _target, counter, prefix); in evlist__print_counters()
1295 iostat_print_counters(evlist, config, ts, prefix = buf, in evlist__print_counters()
1299 print_counter_aggr(config, counter, prefix); in evlist__print_counters()
1307 print_no_aggr_metric(config, evlist, prefix); in evlist__print_counters()
1311 print_percore(config, counter, prefix); in evlist__print_counters()
1313 print_counter(config, counter, prefix); in evlist__print_counters()