From: Peter Zijlstra <peterz@infradead.org>
To: Zhao Lei <zhaolei@cn.fujitsu.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] cpuacct: Show all detail stats in one file
Date: Wed, 11 May 2016 13:39:09 +0200 [thread overview]
Message-ID: <20160511113909.GF3190@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <af6f5b54f37f9bc75170a77a22113f0ec7c01255.1462901697.git.zhaolei@cn.fujitsu.com>
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?
prev parent reply other threads:[~2016-05-11 11:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 17:43 [PATCH 0/3] cpuacct: Show all detail stats in one file Zhao Lei
2016-05-10 17:43 ` [PATCH 1/3] cpuacct: Merge cpuacct_usage_index and cpuacct_usage_index Zhao Lei
2016-05-12 7:49 ` Ingo Molnar
2016-05-10 17:43 ` [PATCH 2/3] cpuacct: Simplify cpuacct_stats_show Zhao Lei
2016-05-12 7:47 ` Ingo Molnar
2016-05-10 17:43 ` [PATCH 3/3] cpuacct: Show all detail stats in one file Zhao Lei
2016-05-11 11:39 ` Peter Zijlstra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160511113909.GF3190@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zhaolei@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox