Skip to content
Commit ba9c1d65 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: rearrange syscall tracing



system_call saves and restores syscall number across system call to make
clone and execv entry and exit tracing match. This complicates things
when syscall code may be changed by ptrace.
Preserve syscall code in copy_thread and start_thread directly instead of
doing tricks in system_call.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent c2d9aa3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment