[CRIU] [PATCH 06/12]v2 deduplication: add dedup comand to criu

Christopher Covington cov at codeaurora.org
Mon Dec 16 05:21:41 PST 2013


On 12/16/2013 05:55 AM, Tikhomirov Pavel wrote:

[...]

> diff --git a/crtools.c b/crtools.c
> index ab885e6..1076a46 100644
> --- a/crtools.c
> +++ b/crtools.c
> @@ -359,6 +359,9 @@ int main(int argc, char *argv[])
>  	if (!strcmp(argv[optind], "service"))
>  		return cr_service(opts.restore_detach);
>  
> +	if (!strcmp(argv[optind], "dedup"))
> +		return cr_dedup();
> +
>  	pr_msg("Unknown command \"%s\"\n", argv[optind]);
>  usage:
>  	pr_msg("\n"
> @@ -370,6 +373,7 @@ usage:
>  "  criu exec -p PID <syscall-string>\n"
>  "  criu page-server\n"
>  "  criu service [<options>]\n"
> +"  criu dedup\n"
>  "\n"
>  "Commands:\n"
>  "  dump           checkpoint a process/tree identified by pid\n"
> @@ -380,6 +384,7 @@ usage:
>  "  exec           execute a system call by other task\n"
>  "  page-server    launch page server\n"
>  "  service        launch service\n"
> +"  dedup          remove dublicates in memory dump\n"

duplicates

[...]

Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.


More information about the CRIU mailing list