From f4dfff4c2ddb9ee514516af144548c86d8b21e84 Mon Sep 17 00:00:00 2001 From: Duan Chenghao Date: Thu, 24 Oct 2024 19:23:36 +0800 Subject: [PATCH] Fix crash vmlinux /proc/kcore failed When executing "crash vmlinux /proc/kcore", the following error occurred: crash: cannot translate the ELF header of /proc/kcore Cause of the problem: The code in the patch was merged into the wrong location. Signed-of-by: Duan Chenghao --- 0003-crash-8.0.4-add-support-for-loongarch64.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0003-crash-8.0.4-add-support-for-loongarch64.patch b/0003-crash-8.0.4-add-support-for-loongarch64.patch index b699193..fad45fe 100644 --- a/0003-crash-8.0.4-add-support-for-loongarch64.patch +++ b/0003-crash-8.0.4-add-support-for-loongarch64.patch @@ -17211,7 +17211,7 @@ index 3907863..e977ae8 100644 static void check_dumpfile_size(char *); static int proc_kcore_init_32(FILE *, int); static int proc_kcore_init_64(FILE *, int); -@@ -217,6 +218,11 @@ is_netdump(char *file, ulong source_query) +@@ -314,6 +315,11 @@ is_netdump(char *file, ulong source_query) source_query)) goto bailout; break; -- Gitee