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

crtools: make to be able to split messages by pid

If the option --log-pid is set, each process will have an own log file.
Otherwise PID is added to each log message.

A message can't be bigger than one page minus some bytes for pid.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-05-02 14:42:00 +04:00
committed by Pavel Emelyanov
parent ad7c18a1d4
commit fc7bedc50a
6 changed files with 48 additions and 4 deletions

View File

@@ -74,6 +74,8 @@ struct cr_options {
bool ext_unix_sk;
bool tcp_established_ok;
unsigned int namespaces_flags;
bool log_file_per_pid;
char *output;
};
extern struct cr_options opts;