diff options
author | Keika Kobayashi <kobayashi.kk@ncos.nec.co.jp> | 2009-06-18 01:25:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 22:03:41 +0200 |
commit | d3d64df21d3d0de675a0d3ffa7c10514f3644b30 (patch) | |
tree | 7ea3c79d8adb2c0282327f9ce63208978857eb07 /Documentation/filesystems/Exporting | |
parent | irqs: add IRQF_SAMPLE_RANDOM to the feature-removal-schedule.txt (deprecated)... (diff) | |
download | linux-d3d64df21d3d0de675a0d3ffa7c10514f3644b30.tar.xz linux-d3d64df21d3d0de675a0d3ffa7c10514f3644b30.zip |
proc: export statistics for softirq to /proc
Export statistics for softirq in /proc/softirqs and /proc/stat.
1. /proc/softirqs
Implement /proc/softirqs which shows the number of softirq
for each CPU like /proc/interrupts.
2. /proc/stat
Add the "softirq" line to /proc/stat.
This line shows the number of softirq for all cpu.
The first column is the total of all softirqs and
each subsequent column is the total for particular softirq.
[kosaki.motohiro@jp.fujitsu.com: remove redundant for_each_possible_cpu() loop]
Signed-off-by: Keika Kobayashi <kobayashi.kk@ncos.nec.co.jp>
Reviewed-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/filesystems/Exporting')
0 files changed, 0 insertions, 0 deletions