aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openbsc/debug.h')
-rw-r--r--include/openbsc/debug.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h
index c1db120a9..41953a362 100644
--- a/include/openbsc/debug.h
+++ b/include/openbsc/debug.h
@@ -1,13 +1,18 @@
#ifndef _DEBUG_H
#define _DEBUG_H
+#define DEBUG
+
#define DRLL 0x0001
#define DCC 0x0002
#define DMM 0x0004
#define DRR 0x0008
+#define DRSL 0x0010
+#define DNM 0x0020
+#define DMI 0x1000
#ifdef DEBUG
-#define DEBUGP(ss, args, ...) debugp(ss, args, ...)
+#define DEBUGP(ss, args...) debugp(ss, __FILE__, __LINE__, ## args)
#else
#define DEBUGP(xss, args, ...)
#endif