[CRIU] Re: [PATCH 09/16] parasite, restore: Add EXPORT_SYMBOL for blob symbol definitions

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 5 05:09:11 EDT 2012


On Thu, Apr 05, 2012 at 01:01:57PM +0400, Pavel Emelyanov wrote:
> On 04/02/2012 11:17 PM, Cyrill Gorcunov wrote:
> > On Mon, Apr 02, 2012 at 10:49:10PM +0400, Pavel Emelyanov wrote:
> >> On 03/31/2012 02:46 AM, Cyrill Gorcunov wrote:
> >>>
> >>> Since we only need a few symbols from generated blob files
> >>> no need to #define every symbol found. Rather use EXPORT_SYMBOL
> >>> helper -- it marks the symbols we need to use and minimizes
> >>> the bunch of #define's we generate.
> >>>
> >>> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> >>> ---
> >>
> >> Plz, rewrite using objdump -t -j '.export'. I don't like the __export grepping.
> >>
> > 
> > This won't work.
> 
> I checked, it works ;)

My bad, objdump is smart enough to fetch symbols which correspond .export table.
I'll remake.

	Cyrill


More information about the CRIU mailing list