]> git.ipfire.org Git - thirdparty/util-linux.git/commit
irqtop: do not use fixed size /proc/interrupts line buffer
authorSami Kerola <kerolasa@iki.fi>
Sun, 23 Feb 2020 07:39:11 +0000 (07:39 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sun, 23 Feb 2020 17:36:33 +0000 (17:36 +0000)
commitd77e9e13ddb52b5a4bb34df5e02e1852b5786d88
treec6e913a07769269f6c4825fec2de14670f89da33
parent68afc56bcd7eab9a91de9cea6b7bc988efe56f83
irqtop: do not use fixed size /proc/interrupts line buffer

Allocating and freeing all the time is a little bit heavier, but it is also
more robust.  It is impossible to know if field lenghts stay fixed.

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