]> sourceware.org Git - systemtap.git/commitdiff
2005-08-22 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Mon, 22 Aug 2005 19:12:38 +0000 (19:12 +0000)
committerhunt <hunt>
Mon, 22 Aug 2005 19:12:38 +0000 (19:12 +0000)
* runtime.h (kbug): New dbug macros that calls printk.

runtime/ChangeLog
runtime/runtime.h

index b9c9214081b2e8252dc98920cce9a96221f45ca0..89df15b41599af51e00a0db93db0657729c3d4b0 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-22  Martin Hunt  <hunt@redhat.com>
+
+       * runtime.h (kbug): New dbug macros that calls printk.
+
 2005-08-21  Frank Ch. Eigler  <fche@redhat.com>
 
        * arith.c (*): Adapt to last_error context variable.
index 88ccc1963e46cb6b495c4ed8bba0fc9d3f5f413b..1df196de0c7594ba93cbc6924c36f659bdf1934a 100644 (file)
  * @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 */
This page took 0.029686 seconds and 5 git commands to generate.