summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-07-25 20:19:00 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2021-09-24 14:34:46 +0300
commit4bb0bd81ce5e97092dfda6a106d414b703ec0ee8 (patch)
tree8057f35e466f50b4dd8d3b498d17f160ff808676 /tools/perf/scripts/python
parenta7b68ed15d1fd72c1e451d5eb6edebee2a624b90 (diff)
downloadlinux-4bb0bd81ce5e97092dfda6a106d414b703ec0ee8.tar.xz
m68k: Handle arrivals of multiple signals correctly
When we have several pending signals, have entered with the kernel with large exception frame *and* have already built at least one sigframe, regs->stkadj is going to be non-zero and regs->format/sr/pc are going to be junk - the real values are in shifted exception stack frame we'd built when putting together the first sigframe. If that happens, subsequent sigframes are going to be garbage. Not hard to fix - just need to find the "adjusted" frame first and look for format/vector/sr/pc in it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Reviewed-by: Michael Schmitz <schmitzmic@gmail.com> Tested-by: Finn Thain <fthain@linux-m68k.org> Link: https://lore.kernel.org/r/YP2dBIAPTaVvHiZ6@zeniv-ca.linux.org.uk Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions