[CRIU] [PATCH 05/32] tools: cpt2 - Add bare entry routine
Cyrill Gorcunov
gorcunov at openvz.org
Mon Apr 1 05:53:21 EDT 2013
On Mon, Apr 01, 2013 at 01:45:31PM +0400, Pavel Emelyanov wrote:
> On 03/31/2013 01:42 AM, Cyrill Gorcunov wrote:
> >
> > Introduce main() routine which does nothing but
> > reports "usage message" if no command line option
> > provided.
> >
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> > tools/cpt2/src/Makefile | 7 ++
> > tools/cpt2/src/include/compiler.h | 143 ++++++++++++++++++++++++++++++++++++++
> > tools/cpt2/src/include/cpt2.h | 17 +++++
> > tools/cpt2/src/include/log.h | 54 ++++++++++++++
>
> I'm not happy with copying headers from crtools/include.
To be able to use headers outside of crtools we should stop
bloating crtools headers (like in case of util.h). Logging
is different in cpt2, compiler.h -- agree, it's the same
and I'll reuse it.
More information about the CRIU
mailing list