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

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