mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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
1 changed files with 3 additions and 3 deletions
|
|
@ -2122,9 +2122,9 @@ static int collect_one_unixsk(void *o, ProtobufCMessage *base, struct cr_img *i)
|
|||
uname = "-";
|
||||
}
|
||||
|
||||
pr_info(" `- Got %d peer %d (name %s%.*s dir %s)\n",
|
||||
ui->ue->ino, ui->ue->peer,
|
||||
prefix, ulen, uname,
|
||||
pr_info(" `- Got id %#x ino %d type %s state %s peer %d (name %s%.*s dir %s)\n",
|
||||
ui->ue->id, ui->ue->ino, socket_type_name(ui->ue->type),
|
||||
tcp_state_name(ui->ue->state), ui->ue->peer, prefix, ulen, uname,
|
||||
ui->name_dir ? ui->name_dir : "-");
|
||||
|
||||
if (ui->ue->peer || ui->name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue