Add FD_NET debugging value
authorJens Axboe <axboe@kernel.dk>
Sat, 1 Oct 2011 18:42:00 +0000 (12:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 1 Oct 2011 18:42:00 +0000 (12:42 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
debug.h
init.c

diff --git a/debug.h b/debug.h
index 3473d6f7379934da2f42309eec4daa385b5a8fed..af71d625fc10c20433cc5a53285de61c70ad02dc 100644 (file)
--- a/debug.h
+++ b/debug.h
@@ -18,6 +18,7 @@ enum {
        FD_MUTEX,
        FD_PROFILE,
        FD_TIME,
+       FD_NET,
        FD_DEBUG_MAX,
 };
 
diff --git a/init.c b/init.c
index 623d4a12c9c76efddfbe070a4a8ff3b64d3b4ad8..89c241f2500b0c689ceb0ac952d2d53bdf2a6543 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1102,6 +1102,7 @@ struct debug_level debug_levels[] = {
        { .name = "mutex",      .shift = FD_MUTEX },
        { .name = "profile",    .shift = FD_PROFILE },
        { .name = "time",       .shift = FD_TIME },
+       { .name = "net",        .shift = FD_NET },
        { .name = NULL, },
 };