diff options
author | Zhao Lei <[email protected]> | 2016-06-20 17:37:20 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-07-09 13:56:15 +0200 |
commit | 277a13e4f0d661678a7084bf97ed96a99c7dac21 (patch) | |
tree | 95235ad9dcfa402e6fb363cebbd7b83737434253 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8e546bfafb3121ed25c73a0c02311ec58459344a (diff) |
sched/cpuacct: Introduce cpuacct.usage_all to show all CPU stats together
In current code, we can get cpuacct data from several files,
but each file has various limitations.
For example:
- We can get CPU usage in user and kernel mode via cpuacct.stat,
but we can't get detailed data about each CPU.
- We can get each CPU's kernel mode usage in cpuacct.usage_percpu_sys,
but we can't get user mode usage data at the same time.
This patch introduces cpuacct.usage_all, to show all detailed CPU
accounting data together:
# cat cpuacct.usage_all
cpu user system
0 3809760299 5807968992
1 3250329855 454612211
..
Signed-off-by: Zhao Lei <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/7744460969edd7caaf0e903592ee52353ed9bdd6.1466415271.git.zhaolei@cn.fujitsu.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions