[Crash-utility] [PATCH] add option -s and -S for subcommand irq

zhangyanfei zhangyanfei at cn.fujitsu.com
Wed Jan 11 06:52:45 UTC 2012


Hello Dave,

The subcommand irq can dump the most of the irq information. Here I add
some options to make some improvements for irq.
1. option '-s': display the cpu affinity for in-use IRQs.
2. option '-S' and '-c': display the percpu irq stats. -c is used to
specify the cpu for which irq stats should be displayed. Without option
-c, 'irq -S' displays the irq stats for all cpus. The output of this
option is just like 'cat /proc/interrupts' shows.

Two patches attched:
-s: 0001-Add-s-option-for-irq-to-dump-the-cpu-affinity-of-in-.patch
-S and -c: 0002-Add-S-and-c-option-for-irq-to-dump-the-kernel-irq-st.patch
And the second patch is made at the base of the first patch.

Thanks,
Zhang Yanfei

-- 
> Regards
> Zhang Yanfei
> --------------------------------------------------
> Development Dept.I
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
> No. 6 Zhushan Road, Nanjing, 210012, China
> TEL: +86+25-86630566-8529
> FUJITSU INTERNAL: 7998-8529
> EMail: zhangyanfei at cn.fujitsu.com
> --------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-s-option-for-irq-to-dump-the-cpu-affinity-of-in-.patch
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120111/1898b8b0/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Add-S-and-c-option-for-irq-to-dump-the-kernel-irq-st.patch
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120111/1898b8b0/attachment-0001.ksh>


More information about the Crash-utility mailing list