criu/include/eventpoll.h
Pavel Emelyanov bd7bf7bd39 anon-inode: Don't readlink fd/fd multiple times
The is_foo_link readlinks the lfd to check. This makes
anon-inodes dumping readlink several times to find proper
dump ops. Optimize this thing.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-02-02 22:14:29 +04:00

11 lines
297 B
C

#ifndef __CR_EVENTPOLL_H__
#define __CR_EVENTPOLL_H__
#include "files.h"
extern int is_eventpoll_link(char *link);
extern const struct fdtype_ops eventpoll_dump_ops;
extern struct collect_image_info epoll_tfd_cinfo;
extern struct collect_image_info epoll_cinfo;
#endif /* __CR_EVENTPOLL_H__ */