Whamcloud - gitweb
Branch b1_x
authoradilger <adilger>
Fri, 23 Jan 2009 19:17:25 +0000 (19:17 +0000)
committeradilger <adilger>
Fri, 23 Jan 2009 19:17:25 +0000 (19:17 +0000)
Print DEBUG MARKER messages without the function name - it never changes.

lnet/libcfs/debug.c

index d90f697..1f70749 100644 (file)
@@ -524,7 +524,7 @@ int libcfs_debug_clear_buffer(void)
 int libcfs_debug_mark_buffer(const char *text)
 {
         CDEBUG(D_TRACE,"***************************************************\n");
-        CDEBUG(D_WARNING, "DEBUG MARKER: %s\n", text);
+        LCONSOLE(D_WARNING, "DEBUG MARKER: %s\n", text);
         CDEBUG(D_TRACE,"***************************************************\n");
 
         return 0;