[CRIU] [PATCH 2/5] parasite: Drop unused parasite_service_complete address

Cyrill Gorcunov gorcunov at openvz.org
Tue Mar 27 09:01:39 EDT 2012


It has been used when debuggin without PTRACE_SEIZE,
not needed anymore.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 gen-offsets.sh     |    1 -
 include/parasite.h |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/gen-offsets.sh b/gen-offsets.sh
index 22252a6..1e24aa0 100644
--- a/gen-offsets.sh
+++ b/gen-offsets.sh
@@ -24,7 +24,6 @@ nm $OBJNAME | grep "restore_task" | tr . _ | awk "$AWK_CMD"
 nm $OBJNAME | grep "parasite_args" | tr . _ | awk "$AWK_CMD"
 nm $OBJNAME | grep "parasite_cmd" | tr . _ | awk "$AWK_CMD"
 nm $OBJNAME | grep "parasite_head_start" | tr . _ | awk "$AWK_CMD"
-nm $OBJNAME | grep "parasite_service_complete" | tr . _ | awk "$AWK_CMD"
 
 cat << EOF
 
diff --git a/include/parasite.h b/include/parasite.h
index 291e561..8004c7c 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -94,7 +94,5 @@ struct parasite_dump_sk_queues {
 	((start) + parasite_blob_offset__parasite_cmd)
 #define PARASITE_HEAD_ADDR(start)				\
 	((start) + parasite_blob_offset__parasite_head_start)
-#define PARASITE_COMPLETE_ADDR(start)				\
-	((start) + parasite_blob_offset__parasite_service_complete)
 
 #endif /* CR_PARASITE_H_ */
-- 
1.7.7.6



More information about the CRIU mailing list