[CRIU] [PATCH 5/5] pie: piegen -- Enable printing debug info during build

Laurent Dufour ldufour at linux.vnet.ibm.com
Tue Jun 9 07:21:45 PDT 2015


On 09/06/2015 15:18, Cyrill Gorcunov wrote:
> Helps to resolve build problems.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  pie/piegen/piegen.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pie/piegen/piegen.h b/pie/piegen/piegen.h
> index 5b0bc7917f07..6b852fcb0b93 100644
> --- a/pie/piegen/piegen.h
> +++ b/pie/piegen/piegen.h
> @@ -25,7 +25,7 @@ extern int handle_elf_ppc64(const piegen_opt_t *opts, void *mem, size_t size);
> 
>  #define pr_out(fmt, ...)	fprintf(stdout, fmt, ##__VA_ARGS__)
> 
> -#if 0
> +#if 1
>  # define pr_debug(fmt, ...)	fprintf(stderr, fmt, ##__VA_ARGS__)
>  #else
>  # define pr_debug(fmt, ...)
> 

This generates a lot of output and I think that only CRIU developpers
would be interested in the detailed.
I guess we may send the output in a log file. See patch attached.

Cheers,
Laurent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pie-piegen-Send-piegen-s-ouput-in-a-log-file.patch
Type: text/x-patch
Size: 1157 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150609/d86dec4e/attachment.bin>


More information about the CRIU mailing list