criu/compel/plugins/std
Dmitry Safonov 28949d5fb8 compel/std/uapi: Provide setter for gettimeofday()
Provide a way to set gettimeofday() function for an infected task.
CRIU's parasite & restorer are very voluble as more logs are better
than lesser in terms of bug investigations.
In all modern kernels there is a way to get time without entering
kernel: vdso. So, add a way to reduce the cost of logging without making
it less valuable.

[I'm not particularly fond of std_log_set_gettimeofday() name, so
 if someone can come with a better naming - I'm up for a change]

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2019-09-07 15:59:55 +03:00
..
fds.c compel plugins uapi: rename includes 2017-03-15 09:36:09 +03:00
infect.c compel/criu: Add ARCH_HAS_LONG_PAGES to PIE binaries 2018-07-04 03:17:17 +03:00
log.c compel/std/uapi: Provide setter for gettimeofday() 2019-09-07 15:59:55 +03:00
std.c compel plugins uapi: rename includes 2017-03-15 09:36:09 +03:00
string.c compel/plugins: simplify #includes 2017-03-15 09:36:09 +03:00