[CRIU] Re: [PATCH 09/16] parasite,
restore: Add EXPORT_SYMBOL for blob symbol definitions
Pavel Emelyanov
xemul at parallels.com
Mon Apr 2 14:49:10 EDT 2012
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>
> ---
> gen-offsets.sh | 4 +++-
> include/linkage.h | 8 ++++++++
> parasite.c | 6 ++++++
> restorer.c | 3 +++
> 4 files changed, 20 insertions(+), 1 deletions(-)
> create mode 100644 include/linkage.h
>
Plz, rewrite using objdump -t -j '.export'. I don't like the __export grepping.
More information about the CRIU
mailing list