aboutsummaryrefslogtreecommitdiff
path: root/include/user/syscall-trace.h
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-05-26 17:53:51 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2023-06-01 11:03:55 -0400
commit2e2097b495990b198c45dd8ecde8cc58ae3fcd1f (patch)
tree7607dae113ffd13e2abbd4ed3f3de0e6286140fc /include/user/syscall-trace.h
parentc6a5fc2ac76c5ab709896ee1b0edd33685a67ed1 (diff)
downloadqemu-2e2097b495990b198c45dd8ecde8cc58ae3fcd1f.zip
qemu-2e2097b495990b198c45dd8ecde8cc58ae3fcd1f.tar.gz
qemu-2e2097b495990b198c45dd8ecde8cc58ae3fcd1f.tar.bz2
*-user: remove the guest_user_syscall tracepoints
This is pure duplication now. Both bsd-user and linux-user have builtin strace support and we can also track syscalls via the plugins system. Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20230526165401.574474-2-alex.bennee@linaro.org Message-Id: <20230524133952.3971948-2-alex.bennee@linaro.org> [Remove unused variable in do_freebsd_syscall() reported by Richard Henderson. --Stefan] Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/user/syscall-trace.h')
-rw-r--r--include/user/syscall-trace.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/user/syscall-trace.h b/include/user/syscall-trace.h
index 90bda76..557f881 100644
--- a/include/user/syscall-trace.h
+++ b/include/user/syscall-trace.h
@@ -26,9 +26,6 @@ static inline void record_syscall_start(void *cpu, int num,
abi_long arg5, abi_long arg6,
abi_long arg7, abi_long arg8)
{
- trace_guest_user_syscall(cpu, num,
- arg1, arg2, arg3, arg4,
- arg5, arg6, arg7, arg8);
qemu_plugin_vcpu_syscall(cpu, num,
arg1, arg2, arg3, arg4,
arg5, arg6, arg7, arg8);
@@ -36,7 +33,6 @@ static inline void record_syscall_start(void *cpu, int num,
static inline void record_syscall_return(void *cpu, int num, abi_long ret)
{
- trace_guest_user_syscall_ret(cpu, num, ret);
qemu_plugin_vcpu_syscall_ret(cpu, num, ret);
}