**/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
#include "configfile.h"
} else {
ERROR ("irq plugin: unable to get CPU count from first line "
"of /proc/interrupts");
+ fclose (fh);
return (-1);
}
if (irq_name[irq_name_len - 1] != ':')
continue;
+ /* Is it the the ARM fast interrupt (FIQ)? */
+ if (irq_name_len == 4 && (strncmp(irq_name, "FIQ:", 4) == 0))
+ continue;
+
irq_name[irq_name_len - 1] = 0;
irq_name_len--;