Karel Zak
61074478fa
irqtop: small cleanup
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-02-25 09:57:49 +01:00
Karel Zak
a23aecc1bf
irqtop: add per-cpu stats
...
irqtop | total: 1245107402 delta: 7394 | ws.net.home | 2021-02-24 20:11:09+01:00
cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7
%irq: 12.9 13.0 12.8 11.9 12.4 13.4 11.6 12.0
%delta: 13.7 9.7 22.6 7.9 9.5 17.5 8.3 10.8
IRQ TOTAL DELTA NAME
LOC 989162414 6111 Local timer interrupts
TLB 100492740 67 TLB shootdowns
CAL 95058001 321 Function call interrupts
42 23893801 241 IR-PCI-MSI 1048576-edge nvidia
30 20209392 494 IR-PCI-MSI 327680-edge xhci_hcd
RES 12996335 86 Rescheduling interrupts
29 1354219 4 IR-PCI-MSI 512000-edge ahci[0000:00:1f.2]
41 682653 31 IR-PCI-MSI 409600-edge eno1
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-02-24 20:11:05 +01:00
zhenwei pi
b6ce063b04
irqtop/lsirq: support softirq
...
Add '-S' or '--softirq' for irqtop/lsirq, instead of interrupts, show
softirqs infomation. Because there is no more description of softirq,
do not show 'NAME' column by default.
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
2020-07-23 12:23:56 +02:00
Karel Zak
5a20c0dec3
lsirq: add -P option
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-06 16:34:51 +01:00
Karel Zak
a0f62b0b20
lsirq: add new command
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-06 16:21:10 +01:00
Karel Zak
44e39c9940
irqtop: cleanup sort stuff
...
* user "cmp" in the function names (it does not sort)
* keep all in irq-common.c
* use column names on command line (e.g. --sort NAME)
* hardcode default to sort_result()
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-06 15:29:03 +01:00
Karel Zak
77f57b90f7
irqtop: cleanup struct irq_stat use
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-06 14:49:53 +01:00
Karel Zak
02f2919e95
irqtop: minor cleanup
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-06 14:11:30 +01:00
Karel Zak
94e7e258a3
irqtop: move independent code to irq-common.c
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-06 14:04:33 +01:00