summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-04-22 09:46:44 +0300
committerGuo Ren <ren_guo@c-sky.com>2019-04-22 10:55:28 +0300
commita691f3334d58b833e41d56de1b9820e687edcd78 (patch)
treea5da17a314196bf4a97eae43557754712f6d172f /tools
parent1a23710c71bbfe2df10584afb9971b99c45e2576 (diff)
downloadlinux-a691f3334d58b833e41d56de1b9820e687edcd78.tar.xz
csky/syscall_trace: Fixup return processing flow
The function tracehook_report_syscall_entry's return value is __must_check attribute. We should add return processing flow in ptrace.c and set the syscall number to -1 when failed just like riscv's. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions