> My understanding was that at some place there is a if/else > > if (supported counters) > fprintf_something with N fields, all filled in > else > fprintf_empty_fields with != N fields > > So I think this is not about using things like 'a,b,,,,,,' but about > using different number of commas (fields) for supported/unsupported > counters, no?
I believe it's only about empty fields at the end. I don't think we ever get the columns wrong. The original patch just moved the problem because there are still cases where we can output different number of columns. If a tool looks only at the first row to allocate the number of columns it might error out if there are lines with more columns later. All outputs have to be padded to the maximum number of columns, so removing columns is never the right fix. -Andi