diff options
author | Weihao Li <liweihao@loongson.cn> | 2023-09-06 22:53:10 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-09-06 22:53:10 +0800 |
commit | 937f65935950a0346292120acc5d98033f90e61c (patch) | |
tree | d52fe3bb341d74cf9d3a3ecfce3024ce8c4ae56b /tools/perf/scripts/python/stackcollapse.py | |
parent | 0921af6ccfb37dc2d6aefcf744333c14e7ca739d (diff) |
LoongArch: Adjust {copy, clear}_user exception handler behavior
The {copy, clear}_user function should returns number of bytes that
could not be {copied, cleared}. So, try to {copy, clear} byte by byte
when ld.{d,w,h} and st.{d,w,h} trapped into an exception.
Reviewed-by: WANG Rui <wangrui@loongson.cn>
Signed-off-by: Weihao Li <liweihao@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions