]> git.ipfire.org Git - thirdparty/util-linux.git/commit
irqtop: cleanup sort stuff
authorKarel Zak <kzak@redhat.com>
Fri, 6 Mar 2020 14:28:57 +0000 (15:28 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Mar 2020 14:29:03 +0000 (15:29 +0100)
commit44e39c9940e3e2fbd66b3ec219d4b164cf03720f
tree218b407b39772581523a3ecf1f0f517bcb13c25f
parente925cf378f23ba49d831bcf7072670dc8eed36d2
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>
sys-utils/irq-common.c
sys-utils/irq-common.h
sys-utils/irqtop.c