@@ -14,6 +14,7 @@ sbin_PROGRAMS = birq
lib_LIBRARIES =
noinst_HEADERS = \
+ birq.h \
irq.h \
nl.h \
cpumask.h \
@@ -28,6 +28,7 @@
#include <linux/types.h>
#include <linux/netlink.h>
+#include "birq.h"
#include "lub/log.h"
#include "lub/list.h"
#include "irq.h"
@@ -36,9 +37,6 @@
#include "statistics.h"
#include "balance.h"
-#define BIRQ_PIDFILE "/var/run/birq.pid"
-#define BIRQ_INTERVAL 3 /* in seconds */
-
#ifndef VERSION
#define VERSION 1.0.0
#endif
@@ -0,0 +1,8 @@
+#ifndef _birq_h
+#define _birq_h
+
+#define BIRQ_PIDFILE "/var/run/birq.pid"
+#define BIRQ_INTERVAL 3 /* in seconds */
+#define BIRQ_DEFAULT_THRESHOLD 95.00
+#endif