]> granicus.if.org Git - sysstat/commit
mpstat: Don't use read_stat_irq() function
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 12 Jan 2022 16:48:44 +0000 (17:48 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 12 Jan 2022 16:48:44 +0000 (17:48 +0100)
commit38d57c13494cca80decdf9cd275d62795bd12c00
tree1796e953cb9dc492fb48ff1eaaf866aaa932724e
parent5781102b0d3f6d118ef30389fa46933dc00dabd5
mpstat: Don't use read_stat_irq() function

mpstat used read_stat_irq() function from rd_stats.c to get the total
number of interrupts among all processors.
This function is to be heavily modified to deal with sar's new
interrupts statistics report. So create a new function which will be
used only by mpstat and include it in its code.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
mpstat.c
mpstat.h