2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

protobuf: Convert eventpoll data to protobuf engine

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-07-17 07:25:40 +04:00
committed by Pavel Emelyanov
parent 1d484b713a
commit fa923ee14e
6 changed files with 57 additions and 38 deletions

View File

@@ -742,6 +742,8 @@ int parse_fdinfo(int fd, int type,
continue;
}
if (fdinfo_field(str, "tfd")) {
eventpoll_tfd_entry__init(&entry.epl);
if (type != FDINFO_EVENTPOLL)
goto parse_err;
ret = sscanf(str, "tfd: %d events: %x data: %lx",