Blame SOURCES/0002-gcore-defs-remove-definitions-and-initializations-fo.patch

0ba2b3
From 6f4357340807f70bd1999f0b88435361c583f0b9 Mon Sep 17 00:00:00 2001
0ba2b3
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
0ba2b3
Date: Fri, 25 Feb 2022 04:51:06 -0500
0ba2b3
Subject: [PATCH 2/8] gcore, defs: remove definitions and initializations for
0ba2b3
 saved_auxv entries of offset and size tables
0ba2b3
0ba2b3
saved_auxv entries of offset and size tables are now not used in the
0ba2b3
source code by the previous commit. Let's remove definitions and
0ba2b3
initializations for them.
0ba2b3
0ba2b3
Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
0ba2b3
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
0ba2b3
---
0ba2b3
 src/gcore.c               | 2 --
0ba2b3
 src/libgcore/gcore_defs.h | 2 --
0ba2b3
 2 files changed, 4 deletions(-)
0ba2b3
0ba2b3
diff --git a/src/gcore.c b/src/gcore.c
0ba2b3
index 5b78d9980887..f86b15f8a9f6 100644
0ba2b3
--- a/src/gcore.c
0ba2b3
+++ b/src/gcore.c
0ba2b3
@@ -371,7 +371,6 @@ static void gcore_offset_table_init(void)
0ba2b3
 	GCORE_MEMBER_OFFSET_INIT(mm_struct_arg_end, "mm_struct", "arg_end");
0ba2b3
 	GCORE_MEMBER_OFFSET_INIT(mm_struct_map_count, "mm_struct", "map_count");
0ba2b3
 	GCORE_MEMBER_OFFSET_INIT(mm_struct_reserved_vm, "mm_struct", "reserved_vm");
0ba2b3
-	GCORE_MEMBER_OFFSET_INIT(mm_struct_saved_auxv, "mm_struct", "saved_auxv");
0ba2b3
 	GCORE_MEMBER_OFFSET_INIT(mm_struct_saved_files, "mm_struct", "saved_files");
0ba2b3
 	GCORE_MEMBER_OFFSET_INIT(mm_struct_context, "mm_struct", "context");
0ba2b3
 	GCORE_MEMBER_OFFSET_INIT(pid_level, "pid", "level");
0ba2b3
@@ -520,7 +519,6 @@ static void gcore_size_table_init(void)
0ba2b3
 {
0ba2b3
 	GCORE_STRUCT_SIZE_INIT(i387_union, "i387_union");
0ba2b3
 	GCORE_STRUCT_SIZE_INIT(mm_context_t, "mm_context_t");
0ba2b3
-	GCORE_MEMBER_SIZE_INIT(mm_struct_saved_auxv, "mm_struct", "saved_auxv");
0ba2b3
 	GCORE_MEMBER_SIZE_INIT(mm_struct_saved_files, "mm_struct", "saved_files");
0ba2b3
 	GCORE_MEMBER_SIZE_INIT(thread_struct_ds, "thread_struct", "ds");
0ba2b3
 	GCORE_MEMBER_SIZE_INIT(thread_struct_es, "thread_struct", "es");
0ba2b3
diff --git a/src/libgcore/gcore_defs.h b/src/libgcore/gcore_defs.h
0ba2b3
index df87851d23a1..3233ea533ca0 100644
0ba2b3
--- a/src/libgcore/gcore_defs.h
0ba2b3
+++ b/src/libgcore/gcore_defs.h
0ba2b3
@@ -1072,7 +1072,6 @@ struct gcore_offset_table
0ba2b3
 	long mm_struct_arg_end;
0ba2b3
 	long mm_struct_map_count;
0ba2b3
 	long mm_struct_reserved_vm;
0ba2b3
-	long mm_struct_saved_auxv;
0ba2b3
 	long mm_struct_saved_files;
0ba2b3
 	long mm_struct_context;
0ba2b3
 	long pid_level;
0ba2b3
@@ -1148,7 +1147,6 @@ struct gcore_offset_table
0ba2b3
 struct gcore_size_table
0ba2b3
 {
0ba2b3
 	long mm_context_t;
0ba2b3
-	long mm_struct_saved_auxv;
0ba2b3
 	long mm_struct_saved_files;
0ba2b3
 	long thread_struct_ds;
0ba2b3
 	long thread_struct_es;
0ba2b3
-- 
0ba2b3
2.37.1
0ba2b3