[CRIU] Re: [PATCH 1/6] make: Shrink amount of generated defines for parasite code

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 29 03:08:43 EDT 2012


On Wed, Mar 28, 2012 at 02:00:20PM +0400, Pavel Emelyanov wrote:
> 
> This is not about gcc flags! This is about writing it in one
> line like this
> 
> nm $OBJNAME | grep -f "$FILE_WITH_REQUIRED_SYMBOLS" | tr . _ | awk "$AWK_CMD"
> 

So I made it in different way, we simply need to mark the
symbols we're interested in as

	EXPORT_SYMBOL(parasite_head_start);

inside .c file itself, and the script will take care of that.
It'll be addressed in next series.

	Cyrill


More information about the CRIU mailing list