[CRIU] [PATCH 3/8] sockets: Print icons numbers in debug printing
Cyrill Gorcunov
gorcunov at openvz.org
Fri Jan 27 13:54:39 EST 2012
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
sockets.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/sockets.c b/sockets.c
index 64ec9f3..738ba5a 100644
--- a/sockets.c
+++ b/sockets.c
@@ -128,6 +128,13 @@ static void show_one_unix(char *act, struct unix_sk_desc *sk)
{
dprintk("\t%s: ino %d type %d state %d name %s\n",
act, sk->sd.ino, sk->type, sk->state, sk->name);
+
+ if (sk->nr_icons) {
+ int i;
+
+ for (i = 0; i < sk->nr_icons; i++)
+ dprintk("\t\ticon: %4d\n", sk->icons[i]);
+ }
}
static void show_one_unix_img(char *act, struct unix_sk_entry *e)
--
1.7.7.5
More information about the CRIU
mailing list