diff options
author | 2024-10-10 17:52:39 +0200 | |
---|---|---|
committer | 2024-10-16 11:32:32 +0200 | |
commit | 223e7fb979fa06934f1595b6ad0ae1d4ead1147f (patch) | |
tree | a00acb034ba3df3589ec35b58857caed869fba7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/sclp_vt220: Convert newlines to CRLF instead of LFCR (diff) | |
download | wireguard-linux-223e7fb979fa06934f1595b6ad0ae1d4ead1147f.tar.xz wireguard-linux-223e7fb979fa06934f1595b6ad0ae1d4ead1147f.zip |
s390: Initialize psw mask in perf_arch_fetch_caller_regs()
Also initialize regs->psw.mask in perf_arch_fetch_caller_regs().
This way user_mode(regs) will return false, like it should.
It looks like all current users initialize regs to zero, so that this
doesn't fix a bug currently. However it is better to not rely on callers
to do this.
Fixes: 914d52e46490 ("s390: implement perf_arch_fetch_caller_regs")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions