]> granicus.if.org Git - sysstat/commitdiff
Increase NR_IRQS value (max number of interrupts)
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 11 Feb 2018 17:23:56 +0000 (18:23 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 11 Feb 2018 17:23:56 +0000 (18:23 +0100)
The old value of 1024 appears to be too low for some systems.

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

index e343a1b1b51fb275e04c97e3809f8b900022bd54..20c3c16eb5ef0ee9d2f615285a543f7fd144df6b 100644 (file)
--- a/common.h
+++ b/common.h
@@ -54,7 +54,7 @@
 #endif
 
 /* Maximum number of interrupts */
-#define NR_IRQS                1024
+#define NR_IRQS                4096
 
 /* Size of /proc/interrupts line, CPU data excluded */
 #define INTERRUPTS_LINE        128