[CRIU] [PATCH 13/19] unix: break_connected -- Add a log recod
Cyrill Gorcunov
gorcunov at gmail.com
Fri Sep 14 17:08:36 MSK 2018
For better debug
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
criu/sk-unix.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/criu/sk-unix.c b/criu/sk-unix.c
index 0e2ea4472280..232b213d02b4 100644
--- a/criu/sk-unix.c
+++ b/criu/sk-unix.c
@@ -1870,6 +1870,8 @@ static int break_connected(struct unix_sk_info *ui, int sk)
{
if (ui->ue->type == SOCK_DGRAM) {
struct sockaddr_un addr = { .sun_family = AF_UNSPEC };
+ pr_debug("Break connected id %#x ino %d\n",
+ ui->ue->id, ui->ue->ino);
/*
* socketpair() assigns sks[1] as a peer of sks[0]
* (and vice versa). But in this case (not zero peer)
--
2.17.1
More information about the CRIU
mailing list