aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2016-06-20 17:37:19 +0800
committerIngo Molnar <mingo@kernel.org>2016-07-09 13:56:15 +0200
commit8e546bfafb3121ed25c73a0c02311ec58459344a (patch)
tree9f141218a3f5d40170e280cc1d5669fc08e47324 /tools/perf/scripts/python/stackcollapse.py
parentsched/cpuacct: Merge cpuacct_usage_index and cpuacct_stat_index enums (diff)
downloadlinux-8e546bfafb3121ed25c73a0c02311ec58459344a.tar.gz
linux-8e546bfafb3121ed25c73a0c02311ec58459344a.zip
sched/cpuacct: Use loop to consolidate code in cpuacct_stats_show()
In cpuacct_stats_show() we currently we have copies of similar code, for each cpustat(system/user) variant. Use a loop instead to consolidate the code. This will also work better if we extend the CPUACCT_STAT_NSTATS type. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/b0597d4224655e9f333f1a6224ed9654c7d7d36a.1466415271.git.zhaolei@cn.fujitsu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
2014-08-29Documentation/kdump/kdump.txt: add ARM descriptionHuKeping1-3/+33 2014-08-29flush_icache_range: export symbol to fix build errorsPranith Kumar5-0/+5 2014-08-29tools: selftests: fix build issue with make kselftests targetPhong Tran3-11/+11 2014-08-29ocfs2: quorum: add a log for node not fencedJunxiao Bi1-2/+11 2014-08-29ocfs2: o2net: set tcp user timeout to max valueJunxiao Bi2-0/+21 2014-08-29ocfs2: o2net: don't shutdown connection when idle timeoutJunxiao Bi1-6/+19 2014-08-29ocfs2: do not write error flag to user structure we cannot copy from/toBen Hutchings1-86/+43 2014-08-29x86/purgatory: use approprate -m64/-32 build flag for arch/x86/purgatoryVivek Goyal1-0/+1 2014-08-29drivers/rtc/rtc-s5m.c: re-add support for devices without irq specifiedBartlomiej Zolnierkiewicz1-7/+14 2014-08-29xattr: fix check for simultaneous glibc header inclusionFilipe Brandenburger1-1/+1 2014-08-29kexec: remove CONFIG_KEXEC dependency on cryptoVivek Goyal8-16/+0 2014-08-29kexec: create a new config option CONFIG_KEXEC_FILE for new syscallVivek Goyal8-20/+42 2014-08-29x86,mm: fix pte_special versus pte_numaHugh Dickins2-6/+10 2014-08-29hugetlb_cgroup: use lockdep_assert_held rather than spin_is_lockedMichal Hocko1-1/+1 2014-08-29mm/zpool: use prefixed module loadingKees Cook3-1/+3 2014-08-29zram: fix incorrect stat with failed_readsChao Yu2-4/+8 2014-08-29lib: turn CONFIG_STACKTRACE into an actual option.Dave Jones1-1/+6 2014-08-29mm: actually clear pmd_numa before invalidatingMatthew Wilcox1-1/+1 2014-08-29memblock, memhotplug: fix wrong type in memblock_find_in_range_node().Tang Chen1-2/+1 2014-08-29resource: fix the case of null pointer accessVivek Goyal1-7/+4 2014-08-29checkpatch: relax check for length of git commit IDsJoe Perches1-2/+2 2014-08-29alpha: io: implement relaxed accessor macros for writesWill Deacon1-4/+8 2014-08-29alpha: Wire up sched_setattr, sched_getattr, and renameat2 syscalls.Michael Cree3-1/+7 2014-08-29x86, irq, PCI: Keep IRQ assignment for runtime power managementJiang Liu5-2/+20 2014-08-29spi/rockchip: Avoid accidentally turning off the clockDoug Anderson1-1/+1 2014-08-28ext4: fix same-dir rename when inline data directory overflowsDarrick J. Wong1-3/+18 2014-08-28jbd2: fix descriptor block size handling errors with journal_csumDarrick J. Wong6-49/+95 2014-08-28jbd2: fix infinite loop when recovering corrupt journal blocksDarrick J. Wong1-2/+5 2014-08-28ext4: update i_disksize coherently with block allocation on error pathDmitry Monakhov1-2/+8 2014-08-28dm crypt: fix access beyond the end of allocated spaceMikulas Patocka1-6/+19 2014-08-28mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regula...Tony Lindgren2-11/+11