diff options
| author | Keika Kobayashi <[email protected]> | 2009-06-17 16:25:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-18 13:03:41 -0700 |
| commit | d3d64df21d3d0de675a0d3ffa7c10514f3644b30 (patch) | |
| tree | 7ea3c79d8adb2c0282327f9ce63208978857eb07 /include/linux/debugobjects.h | |
| parent | 9d9b8fb0e5ebf4b0398e579f6061d4451fea3242 (diff) | |
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.
[[email protected]: remove redundant for_each_possible_cpu() loop]
Signed-off-by: Keika Kobayashi <[email protected]>
Reviewed-by: Hiroshi Shimamoto <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Signed-off-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions