[CRIU] [PATCH 05/32] tools: cpt2 - Add bare entry routine

Pavel Emelyanov xemul at parallels.com
Mon Apr 1 05:54:53 EDT 2013


On 04/01/2013 01:53 PM, Cyrill Gorcunov wrote:
> 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).

+1

> Logging is different in cpt2, 

Why?

> compiler.h -- agree, it's the same and I'll reuse it.


More information about the CRIU mailing list