[CRIU] [PATCH 0/4] piegen: Fix piegen's logging during build
Laurent Dufour
ldufour at linux.vnet.ibm.com
Wed Jun 10 06:00:38 PDT 2015
This series fixes the piegen's output when building.
The main issue is happening when building using multiple CPUs with the
piegen's log turned on. In that case the piegen's output for the parasite
blob and the restorer blob are interleaved and become useless.
The first patch fixes the piegen returned value which should be 0 in case
of success, the second one introduce a new argument to separate the
generated file from stdout, to allow debug output. In addition, debug log
is output on stdout when building with V=1.
The 2 last patches add prefix to the piegen's output in order to identify
the debug and error log.
Laurent Dufour (4):
piegen: fix handle elf returned value
piegen: separates generated output from debug
piegen: opts variable is global
piegen: prefix piegen's output
pie/Makefile | 6 +++++-
pie/piegen/elf.c | 26 +++++++++++++++-----------
pie/piegen/main.c | 35 ++++++++++++++++++++++++++---------
pie/piegen/piegen.h | 20 +++++++++-----------
4 files changed, 55 insertions(+), 32 deletions(-)
--
1.9.1
More information about the CRIU
mailing list