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

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