Whamcloud - gitweb
LU-12349 llite: console message for disabled flock call
[fs/lustre-release.git] / lnet / include / uapi / linux / lnet / libcfs_debug.h
index c4d9472..03a008f 100644 (file)
@@ -38,6 +38,8 @@
 #ifndef __UAPI_LIBCFS_DEBUG_H__
 #define __UAPI_LIBCFS_DEBUG_H__
 
+#include <linux/types.h>
+
 /**
  * Format for debug message headers
  */
@@ -104,7 +106,7 @@ struct ptldebug_header {
 #define D_TRACE         0x00000001 /* ENTRY/EXIT markers */
 #define D_INODE         0x00000002
 #define D_SUPER         0x00000004
-#define D_EXT2          0x00000008 /* anything from ext2_debug */
+#define D_TTY           0x00000008 /* notification printed to TTY */
 #define D_MALLOC        0x00000010 /* print malloc, free information */
 #define D_CACHE         0x00000020 /* cache-related items */
 #define D_INFO          0x00000040 /* general information */
@@ -135,7 +137,7 @@ struct ptldebug_header {
 #define D_LAYOUT        0x80000000
 
 #define LIBCFS_DEBUG_MASKS_NAMES {                                     \
-       "trace", "inode", "super", "ext2", "malloc", "cache", "info",   \
+       "trace", "inode", "super", "tty", "malloc", "cache", "info",    \
        "ioctl", "neterror", "net", "warning", "buffs", "other",        \
        "dentry", "nettrace", "page", "dlmtrace", "error", "emerg",     \
        "ha", "rpctrace", "vfstrace", "reada", "mmap", "config",        \