commit | 9d11fc3e05eae7b454efeb5941beded56f80445b | [log] [tgz] |
---|---|---|
author | Shuai Xue <xueshuai@linux.alibaba.com> | Sat May 06 14:13:52 2023 +0800 |
committer | Tony Luck <tony.luck@intel.com> | Thu Jun 01 09:59:25 2023 -0700 |
tree | 4939b18fd848429d2b85f6ca4e32e84f200e1db1 | |
parent | 025014dedca39d2b8a57a82e52286e72e157d73a [diff] |
tprctl: enhance sighandler to explicitly print si_code The current sighandler only restores the environment saved before, we can not tell the SIGBUS reason. Therefore, explictly print si_code like we do in tsimpleinj, 4 for BUS_MCEERR_AR, and 5 for BUS_MCEERR_AO. Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com> Signed-off-by: Tony Luck <tony.luck@intel.com>