mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
event*: Move proc parsing stuff to proc_parse
And prepare it for inotify (oh my...) Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "types.h"
|
||||
|
||||
#include "image.h"
|
||||
#include "list.h"
|
||||
|
||||
#define PROC_TASK_COMM_LEN 32
|
||||
@@ -117,4 +117,12 @@ extern int parse_pid_stat_small(pid_t pid, struct proc_pid_stat_small *s);
|
||||
extern int parse_smaps(pid_t pid, struct list_head *vma_area_list, bool use_map_files);
|
||||
extern int parse_pid_status(pid_t pid, struct proc_status_creds *);
|
||||
|
||||
union fdinfo_entries {
|
||||
struct eventfd_file_entry efd;
|
||||
struct eventpoll_tfd_entry epl;
|
||||
};
|
||||
|
||||
extern int parse_fdinfo(int fd, int type,
|
||||
int (*cb)(union fdinfo_entries *e, void *arg), void *arg);
|
||||
|
||||
#endif /* PROC_PARSE_H__ */
|
||||
|
Reference in New Issue
Block a user