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

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 30 18:46:27 EDT 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-parasite-restore-Add-EXPORT_SYMBOL-for-blob-symbol-d.patch
Type: text/x-patch
Size: 1812 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120331/fcf5fb16/0009-parasite-restore-Add-EXPORT_SYMBOL-for-blob-symbol-d-0001.bin


More information about the CRIU mailing list