aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2016-03-17 12:19:43 +0800
committerIngo Molnar <[email protected]>2016-03-21 11:00:28 +0100
commit73e6aafd9ea81498d31361f01db84a0118da2d1c (patch)
treebd2a3300424d7a9c54a9caf3ee2eb44bbd4e5e12 /tools/perf/scripts/python/stackcollapse.py
parent1a736b77a3f50910843d076623204ba6e5057dc1 (diff)
sched/cpuacct: Simplify the cpuacct code
- Use for() instead of while() loop in some functions to make the code simpler. - Use this_cpu_ptr() instead of per_cpu_ptr() to make the code cleaner and a bit faster. Suggested-by: Peter Zijlstra <[email protected]> Signed-off-by: Zhao Lei <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/d8a7ef9592f55224630cb26dea239f05b6398a4e.1458187654.git.zhaolei@cn.fujitsu.com Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions