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

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