Whamcloud - gitweb
- make HEAD from b_post_cmd3
[fs/lustre-release.git] / lnet / libcfs / debug.c
index 18bc5d5..862918a 100644 (file)
@@ -37,8 +37,7 @@ unsigned int libcfs_subsystem_debug = ~0;
 EXPORT_SYMBOL(libcfs_subsystem_debug);
 
 unsigned int libcfs_debug = (D_EMERG | D_ERROR | D_WARNING | D_CONSOLE |
-                             D_NETERROR | D_HA | D_CONFIG | D_IOCTL |
-                             D_DLMTRACE | D_RPCTRACE | D_VFSTRACE);
+                             D_NETERROR | D_HA | D_CONFIG | D_IOCTL);
 EXPORT_SYMBOL(libcfs_debug);
 
 unsigned int libcfs_printk;
@@ -59,12 +58,19 @@ EXPORT_SYMBOL(portal_enter_debugger);
 unsigned int libcfs_catastrophe;
 EXPORT_SYMBOL(libcfs_catastrophe);
 
+unsigned int libcfs_panic_on_lbug = 0;
+EXPORT_SYMBOL(libcfs_panic_on_lbug);
+
 atomic_t libcfs_kmemory = ATOMIC_INIT(0);
 EXPORT_SYMBOL(libcfs_kmemory);
 
 static cfs_waitq_t debug_ctlwq;
 
+#ifdef __arch_um__
+char debug_file_path[1024] = "/r/tmp/lustre-log";
+#else
 char debug_file_path[1024] = "/tmp/lustre-log";
+#endif
 
 int libcfs_panic_in_progress;
 
@@ -161,6 +167,8 @@ libcfs_debug_dbg2str(int debug)
                 return "other";
         case D_DENTRY:
                 return "dentry";
+        case D_NETTRACE:
+                return "nettrace";
         case D_PAGE:
                 return "page";
         case D_DLMTRACE: