Re: [PATCH 3/3] cpuacct: Show all detail stats in one file

From: Peter Zijlstra
Date: Wed May 11 2016 - 07:39:15 EST


On Wed, May 11, 2016 at 01:43:16AM +0800, Zhao Lei wrote:

> # cat cpuacct.usage_all
> [cpu] user system
> [0] 3809760299 5807968992
> [1] 3250329855 454612211
> ..
>
> Any aspects of statistics data can be get from this file
> with a simple data-processing code.

Is there a precedent for using [%d] for the first column? Would it not
be easier to parse without that?