• Home
  • Raw
  • Download

Lines Matching refs:os

146 	struct outstate *os = ctx;  in new_line_std()  local
148 os->newline = true; in new_line_std()
152 struct outstate *os) in do_new_line_std() argument
154 fputc('\n', os->fh); in do_new_line_std()
155 fputs(os->prefix, os->fh); in do_new_line_std()
156 aggr_printout(config, os->evsel, os->id, os->nr); in do_new_line_std()
158 fprintf(os->fh, " "); in do_new_line_std()
159 fprintf(os->fh, " "); in do_new_line_std()
166 struct outstate *os = ctx; in print_metric_std() local
167 FILE *out = os->fh; in print_metric_std()
169 bool newline = os->newline; in print_metric_std()
171 os->newline = false; in print_metric_std()
179 do_new_line_std(config, os); in print_metric_std()
191 struct outstate *os = ctx; in new_line_csv() local
194 fputc('\n', os->fh); in new_line_csv()
195 if (os->prefix) in new_line_csv()
196 fprintf(os->fh, "%s%s", os->prefix, config->csv_sep); in new_line_csv()
197 aggr_printout(config, os->evsel, os->id, os->nr); in new_line_csv()
198 for (i = 0; i < os->nfields; i++) in new_line_csv()
199 fputs(config->csv_sep, os->fh); in new_line_csv()
207 struct outstate *os = ctx; in print_metric_csv() local
208 FILE *out = os->fh; in print_metric_csv()
252 struct outstate *os = ctx; in print_metric_only() local
253 FILE *out = os->fh; in print_metric_only()
259 unit = fixunit(buf, os->evsel, unit); in print_metric_only()
275 struct outstate *os = ctx; in print_metric_only_csv() local
276 FILE *out = os->fh; in print_metric_only_csv()
282 unit = fixunit(tbuf, os->evsel, unit); in print_metric_only_csv()
301 struct outstate *os = ctx; in print_metric_header() local
306 unit = fixunit(tbuf, os->evsel, unit); in print_metric_header()
308 fprintf(os->fh, "%s%s", unit, config->csv_sep); in print_metric_header()
310 fprintf(os->fh, "%*s ", config->metric_only_len, unit); in print_metric_header()
397 struct outstate os = { in printout() local
428 os.nfields = 3; in printout()
429 os.nfields += aggr_fields[config->aggr_mode]; in printout()
431 os.nfields++; in printout()
435 pm(config, &os, NULL, "", "", 0); in printout()
462 pm(config, &os, NULL, NULL, "", 0); in printout()
466 pm(config, &os, NULL, NULL, "", 0); in printout()
475 out.ctx = &os; in printout()
919 struct outstate os = { in print_metric_headers() local
937 os.evsel = counter; in print_metric_headers()
938 out.ctx = &os; in print_metric_headers()
942 os.evsel = counter; in print_metric_headers()