From 75ebb6d02cc149d44fb5eccea4dbe7c8f42d382f Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 28 Nov 2013 15:36:33 +0400 Subject: [PATCH] sk-unix: Print the name of sockets being dropped Useful for bug hunting. | (00.005209) unix: Dropping path /mnt/disk1/new_subvol/criu/test/zdtm/live/static/sockets00.test | for unlinked bound sk 0x26.0x1d4e real 0x23.0x1d4e Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- sk-unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sk-unix.c b/sk-unix.c index b6255ba95..642b84972 100644 --- a/sk-unix.c +++ b/sk-unix.c @@ -356,9 +356,10 @@ static int unix_collect_one(const struct unix_diag_msg *m, if ((st.st_ino != uv->udiag_vfs_ino) || (st.st_dev != kdev_to_odev(uv->udiag_vfs_dev))) { - pr_info("unix: Dropping path for " + pr_info("unix: Dropping path %s for " "unlinked bound " "sk %#x.%#x real %#x.%#x\n", + name, (int)st.st_dev, (int)st.st_ino, (int)uv->udiag_vfs_dev,