Re: [PATCH 3/9] perf, tools, stat: Move noise/running printing into printout

From: Andi Kleen
Date: Fri Jan 22 2016 - 22:43:57 EST


> > - if (run == 0 || ena == 0) {
> > - fprintf(output, "CPU%*d%s%*s%s",
> > - csv_output ? 0 : -4,
> > - perf_evsel__cpus(counter)->map[cpu], csv_sep,
> > - csv_output ? 0 : 18,
> > - counter->supported ? CNTR_NOT_COUNTED : CNTR_NOT_SUPPORTED,
> > - csv_sep);
>
> this hunk is not preserved in the new code.. I guess the output is
> different for -A if counter wasn't meassure?

The code for this is common in printout() now.

-Andi