mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
unix: Improve debug message when collecting socket
Print its type and state. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
671336f344
commit
47aade336d
@ -2122,9 +2122,9 @@ static int collect_one_unixsk(void *o, ProtobufCMessage *base, struct cr_img *i)
|
|||||||
uname = "-";
|
uname = "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info(" `- Got %d peer %d (name %s%.*s dir %s)\n",
|
pr_info(" `- Got id %#x ino %d type %s state %s peer %d (name %s%.*s dir %s)\n",
|
||||||
ui->ue->ino, ui->ue->peer,
|
ui->ue->id, ui->ue->ino, socket_type_name(ui->ue->type),
|
||||||
prefix, ulen, uname,
|
tcp_state_name(ui->ue->state), ui->ue->peer, prefix, ulen, uname,
|
||||||
ui->name_dir ? ui->name_dir : "-");
|
ui->name_dir ? ui->name_dir : "-");
|
||||||
|
|
||||||
if (ui->ue->peer || ui->name) {
|
if (ui->ue->peer || ui->name) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user