60 Commits

Author SHA1 Message Date
Ming Wang
2279f9696c crash: add LoongArch64 support.
Signed-off-by: Ming Wang <wangming01@loongson.cn>
2023-07-11 17:35:43 +08:00
openeuler-ci-bot
93007e8507
!82 Add riscv64 support
From: @East_x 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-07-07 06:13:46 +00:00
EastDong
3405fc720c add riscv support 2023-07-07 11:43:54 +08:00
openeuler-ci-bot
cdaa074d92
!79 update to crash-8.0.2
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-02-11 01:33:11 +00:00
chenhaixiang
f73fa2f432 update to crash-8.0.2
Signed-off-by:chenhaixiang <chenhaixiang3@huawei.com>
2023-02-10 19:39:15 +08:00
openeuler-ci-bot
a1f1597b2c
!77 fix segfault by "bt" command with offline cpus
From: @lijianglin6 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-01-04 08:27:16 +00:00
l30029166
d30bfa99c6 fix segfault by "bt" command with offline cpus 2023-01-04 15:52:06 +08:00
openeuler-ci-bot
20acea475c
!73 modifiy patch description to keep upstream info
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 11:06:45 +00:00
huskarTang
3652955d20 keep upstream info in patches 2022-12-29 17:00:53 +08:00
openeuler-ci-bot
2cbdc492a3
!72 Fix the value of TIF_SIGPENDING macro
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 07:37:00 +00:00
huskarTang
56bd067f8d Fix the value of TIF_SIGPENDING macro
Correct the change of the value of TIF_SIGPENDING macro between
different kernel versions.

TIF_SIGPENDING changes with the kernel version as follows:
ARM     2 -> 0 at v2.6.23
MIPS    2 -> 1 at v2.6.23
MIPS64  2 -> 1 at v2.6.23
PPC     2 -> 1 at v2.6.23
IA64    1 -> 0 at v2.6.23
PPC64   2 -> 1 at v2.6.23
S390    2 -> 1 at v3.16
S390X   2 -> 1 at v3.16
2022-12-29 14:44:28 +08:00
openeuler-ci-bot
2c37844741
!71 Fix 'kmem -s|-S' option on Linux 5.7 and later kernels
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 06:36:30 +00:00
huskarTang
bd3bd6b94d Fix 'kmem -s|-S' option on Linux 5.7 and later kernels 2022-12-29 13:00:01 +08:00
openeuler-ci-bot
5e1c30fc74
!70 arm64: Add lowercase tcr_el1_t1sz
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 03:42:33 +00:00
huskarTang
65b1724263 Add lowercase tcr_el1_t1sz 2022-12-29 11:19:03 +08:00
openeuler-ci-bot
944f493144
!69 rename pathes to keep in order
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 01:08:24 +00:00
huskarTang
2523dc8464 format patch names 2022-12-28 21:57:59 +08:00
openeuler-ci-bot
92e8df10e8
!64 Fix aarch64 KASAN 内核kdump,crash工具bt无法显示宕机堆栈
From: @ch-cityhunter 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-09 02:43:43 +00: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
openeuler-ci-bot
444394d999
!60 添加sw架构
From: @wuzx065891 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-10-28 06:34:13 +00:00
wzx
634549d7d8 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-10-19 14:34:47 +08:00
openeuler-ci-bot
cd51f25ab6
!52 Handle task_struct cpu member changes for kernels >= 5.16-rc1
From: @wangbin224 
Reviewed-by: @hanxinke 
Signed-off-by: @hanxinke
2022-02-23 13:18:55 +00: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
openeuler-ci-bot
3177491352
!50 revert to fix null pointer reference when CONFIG_KASAN is open
From: @zhouwenpei 
Reviewed-by: @hanxinke 
Signed-off-by: @hanxinke
2022-02-22 09:21:17 +00:00
zhouwenpei
113036b569 revert to fix null pointer reference when CONFIG_KASAN is open 2022-02-08 11:23:34 +08:00
openeuler-ci-bot
4bf9c5b493
!46 add SDEI stack resolution
Merge pull request !46 from zhouwenpei/master
2022-01-20 08:04:30 +00:00
zhouwenpei
e956a09318 add SDEI stack resolution 2021-12-31 11:30:02 +08:00
openeuler-ci-bot
02f014ace3 !43 fix seek error “IRQ stack pointer”
Merge pull request !43 from zhouwenpei/master
2021-12-30 12:36:58 +00:00
zhouwenpei
6cef8b237f fix seek error IRQ stack pointer 2021-12-30 17:33:21 +08:00
openeuler-ci-bot
c10dc6cb03 !41 update verion to 7.3.0
Merge pull request !41 from zhouwenpei/master
2021-12-25 07:02:02 +00:00
zhouwenpei
a70be530b9 update verion to 7.3.0 2021-11-30 20:13:30 +08:00
openeuler-ci-bot
ab795fc7d2 !40 crash:fix null pointer reference when CONFIG_KASAN is open
From: @wangbin224
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-09-06 01:34:35 +00: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
openeuler-ci-bot
0cec8d7d9d !39 add buildrequire m4
From: @zhouwenpei
Reviewed-by: @miao_kaibo
Signed-off-by: @miao_kaibo
2021-06-30 02:05:04 +00:00
zhouwenpei
f617707973 add buildrequire m4 2021-06-29 15:42:34 +08:00
openeuler-ci-bot
11fb8fbbe1 !35 add -j option for building efficiency optimization
From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-05-11 09:32:39 +08:00
tong_1001
31d3ad5c28 add -j option for building efficiency optimization 2021-05-10 19:21:50 +08:00
openeuler-ci-bot
5d01663dd2 !32 fix patch issue in upgrade version commit
From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-04-09 14:11:45 +08:00
shixuantong
6919abe3d9 fix patch issue in upgrade version commit 2021-04-08 22:59:03 +08:00
openeuler-ci-bot
7071dccd38 !31 upgrade version to 7.2.9
From: @run-is-pig
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-02-01 17:18:10 +08:00
renmingshuai
2424f9464a Upgrade version to 7.2.9 2021-02-01 11:37:13 +08:00
openeuler-ci-bot
d2d69873fc !23 Update Source0, URL, add Source1 and update tarball from upstream release
From: @tong_1001
Reviewed-by: @licihua
Signed-off-by: @licihua
2020-12-12 10:43:23 +08:00
桐小哥
cee9e7e661 Update Source0, URL, add Source1 and update tarball from upstream release 2020-12-12 10:15:44 +08:00
openeuler-ci-bot
d3818a5e01 !11 Restore Source0 and URL
Merge pull request !11 from 桐小哥/master
2020-09-09 11:08:50 +08:00
桐小哥
34fc28b7de Restore Source0 and URL 2020-09-08 17:19:25 +08:00
openeuler-ci-bot
0d9718b7d2 !10 【轻量级 PR】:修正笔误
Merge pull request !10 from Monday/N/A
2020-08-22 09:50:51 +08:00
Monday
2d72ef22c1 修正笔误 2020-08-13 19:37:15 +08:00
openeuler-ci-bot
3073692d70 !8 update yaml file
Merge pull request !8 from 桐小哥/master
2020-08-13 19:36:48 +08:00
桐小哥
a0adc6ce87 update crash.yaml. 2020-08-13 18:58:12 +08:00
openeuler-ci-bot
01041dae1c !6 crash
Merge pull request !6 from xinghe/master
2020-07-29 09:17:30 +08:00