23 Commits

Author SHA1 Message Date
huskarTang
bd3bd6b94d Fix 'kmem -s|-S' option on Linux 5.7 and later kernels 2022-12-29 13:00:01 +08:00
huskarTang
65b1724263 Add lowercase tcr_el1_t1sz 2022-12-29 11:19:03 +08:00
huskarTang
2523dc8464 format patch names 2022-12-28 21:57:59 +08:00
Ding Hui
d38a008f23 fix backtraces of arm64 KASAN kernel dumpfile truncated
bugzilla: https://gitee.com/src-openeuler/crash/issues/I64FYG

apply upstream
https://listman.redhat.com/archives/crash-utility/2022-December/010288.html
and port for SDEI stack

Signed-off-by: Ding Hui <dinghui@sangfor.com.cn>
2022-12-06 08:57:29 +08:00
wzx
634549d7d8 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-10-19 14:34:47 +08:00
Bin Wang
c09fcc8583 Handle task_struct cpu member changes for kernels >= 5.16-rc1
Kernel commit bcf9033e5449bdcaa9bed46467a7141a8049dadb
("sched: move CPU field back into thread_info if THREAD_INFO_IN_TASK=y")
moved the member cpu of task_struct back into thread_info.
Without the patch, crash fails with the following error message
during session initialization:

  crash: invalid structure member offset: task_struct_cpu
FILE: task.c  LINE: 2904  FUNCTION: add_context()

And delete use_system_readline_v3.patch. Use readline provided by
internal gdb instead of system readline. System readline do not
match crash, and will cause a Segmentation fault when parse corefile.

Signed-off-by: Bin Wang <wangbin224@huawei.com>
2022-02-23 20:49:56 +08:00
zhouwenpei
113036b569 revert to fix null pointer reference when CONFIG_KASAN is open 2022-02-08 11:23:34 +08:00
zhouwenpei
e956a09318 add SDEI stack resolution 2021-12-31 11:30:02 +08:00
zhouwenpei
6cef8b237f fix seek error IRQ stack pointer 2021-12-30 17:33:21 +08:00
zhouwenpei
a70be530b9 update verion to 7.3.0 2021-11-30 20:13:30 +08:00
wangbin
1882a00b9d crash: fix null pointer reference when CONFIG_KASAN is open
If CONFIG_KASAN is open, CONFIG_VMAP_STACK will be closed. And
the sdei_stack_normal_ptr will be undefined. When crash init the
stack, sdei_stacks will not init. We should not access the sdei_stacks
later, so check null pointer before access it.

Signed-off-by: wangbin <wangbin224@huawei.com>
2021-09-03 16:14:17 +08:00
zhouwenpei
f617707973 add buildrequire m4 2021-06-29 15:42:34 +08:00
tong_1001
31d3ad5c28 add -j option for building efficiency optimization 2021-05-10 19:21:50 +08:00
shixuantong
6919abe3d9 fix patch issue in upgrade version commit 2021-04-08 22:59:03 +08:00
renmingshuai
2424f9464a Upgrade version to 7.2.9 2021-02-01 11:37:13 +08:00
桐小哥
cee9e7e661 Update Source0, URL, add Source1 and update tarball from upstream release 2020-12-12 10:15:44 +08:00
桐小哥
34fc28b7de Restore Source0 and URL 2020-09-08 17:19:25 +08:00
jinzhimin369
341a661cd7 update version 2020-07-28 11:14:39 +08:00
weiwei_150212
76806288cc update version 2020-07-28 09:09:30 +08:00
19909236985
6a3a22c4cf add yaml file in package 2020-07-28 09:09:29 +08:00
pengyeqing
9f8438951d fix parse vmcore fail 2020-01-19 11:51:27 +08:00
zhuchunyi
d79406478d update code 2019-11-06 19:04:54 +08:00
overweight
3bb4f0fd48 Package init 2019-09-30 10:35:57 -04:00