diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-04-23 04:42:26 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-06-20 18:20:23 +0300 |
commit | 58b1294dd1d65bb62f08dddbf418f954210c2057 (patch) | |
tree | 7bf109c44c78c691937b90fde24143039b3ab2b2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 648321fa0d970c04b4327ac1a053abf43d285931 (diff) | |
download | linux-58b1294dd1d65bb62f08dddbf418f954210c2057.tar.xz |
riscv: uprobes: Restore thread.bad_cause
thread.bad_cause is saved in arch_uprobe_pre_xol(), it should be restored
in arch_uprobe_{post,abort}_xol() accordingly, otherwise the save operation
is meaningless, this change is similar with x86 and powerpc.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Fixes: 74784081aac8 ("riscv: Add uprobes supported")
Link: https://lore.kernel.org/r/1682214146-3756-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions