Lines Matching refs:os
156 struct outstate *os = ctx;
158 os->newline = true;
162 struct outstate *os)
164 fputc('\n', os->fh);
165 fputs(os->prefix, os->fh);
166 aggr_printout(config, os->evsel, os->id, os->nr);
168 fprintf(os->fh, " ");
169 fprintf(os->fh, " ");
176 struct outstate *os = ctx;
177 FILE *out = os->fh;
179 bool newline = os->newline;
181 os->newline = false;
189 do_new_line_std(config, os);
201 struct outstate *os = ctx;
204 fputc('\n', os->fh);
205 if (os->prefix)
206 fprintf(os->fh, "%s", os->prefix);
207 aggr_printout(config, os->evsel, os->id, os->nr);
208 for (i = 0; i < os->nfields; i++)
209 fputs(config->csv_sep, os->fh);
217 struct outstate *os = ctx;
218 FILE *out = os->fh;
260 struct outstate *os = ctx;
261 FILE *out = os->fh;
267 unit = fixunit(buf, os->evsel, unit);
283 struct outstate *os = ctx;
284 FILE *out = os->fh;
290 unit = fixunit(tbuf, os->evsel, unit);
309 struct outstate *os = ctx;
314 unit = fixunit(tbuf, os->evsel, unit);
316 fprintf(os->fh, "%s%s", unit, config->csv_sep);
318 fprintf(os->fh, "%*s ", config->metric_only_len, unit);
402 struct outstate os = {
433 os.nfields = 3;
434 os.nfields += aggr_fields[config->aggr_mode];
436 os.nfields++;
440 pm(config, &os, NULL, "", "", 0);
466 pm(config, &os, NULL, NULL, "", 0);
470 pm(config, &os, NULL, NULL, "", 0);
479 out.ctx = &os;
924 struct outstate os = {
942 os.evsel = counter;
943 out.ctx = &os;