2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

protobuf: Convert eventfd 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:24:54 +04:00
committed by Pavel Emelyanov
parent 1abf969d8c
commit ca21674573
6 changed files with 35 additions and 27 deletions

View File

@@ -6,6 +6,8 @@
#include "image.h"
#include "list.h"
#include "../protobuf/eventfd.pb-c.h"
#define PROC_TASK_COMM_LEN 32
#define PROC_TASK_COMM_LEN_FMT "(%31s"
@@ -118,7 +120,7 @@ extern int parse_smaps(pid_t pid, struct list_head *vma_area_list, bool use_map_
extern int parse_pid_status(pid_t pid, struct proc_status_creds *);
union fdinfo_entries {
struct eventfd_file_entry efd;
EventfdFileEntry efd;
struct eventpoll_tfd_entry epl;
struct inotify_wd_entry ify;
};