]> git.ipfire.org Git - thirdparty/util-linux.git/commit
irqtop: trim white spaces from end of name field
authorSami Kerola <kerolasa@iki.fi>
Wed, 4 Mar 2020 21:39:07 +0000 (21:39 +0000)
committerSami Kerola <kerolasa@iki.fi>
Wed, 4 Mar 2020 21:40:24 +0000 (21:40 +0000)
commitb5886f298e6f5d35565b75afc8e77f8e6f9e8b1d
tree8cc45ec1e97e404d95745d77b5eeed69e8291eb2
parentf5377ca454ebd6e7de5f4fbef41921a15069cdc3
irqtop: trim white spaces from end of name field

Excess white spaces were easiest to see in json output.

    $ irqtop --once --json
    {
       "interrupts": [
          {"irq":"LOC", "total":7425148, "name":"Local timer interrupts "},
          {"irq":"51", "total":1848384, "name":"IR-PCI-MSI 32768-edge i915 "},
          {"irq":"RES", "total":1176665, "name":"Rescheduling interrupts "},
          ...

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/irqtop.c