summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 88ccc196..1df196de 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -37,8 +37,10 @@
* @ingroup io
*/
#define dbug(args...) _stp_dbug(__FUNCTION__, __LINE__, args)
+#define kbug(args...) {printk("%s:%d ",__FUNCTION__, __LINE__); printk(args); }
#else
#define dbug(args...) ;
+#define kbug(args...) ;
#endif /* DEBUG */
/* atomic globals */