[CRIU] [PATCH] sk-unix: Print the name of sockets being dropped
Cyrill Gorcunov
gorcunov at openvz.org
Wed Nov 27 02:04:27 PST 2013
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 <gorcunov at openvz.org>
---
sk-unix.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sk-unix.c b/sk-unix.c
index 3093badea5ba..55b4d7251863 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,
--
1.8.3.1
More information about the CRIU
mailing list