*-user: plugin syscalls
authorEmilio G. Cota <cota@braap.org>
Sun, 21 Oct 2018 17:27:44 +0000 (13:27 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
commitc36f7a642cd81cff566ffe23e0a863ac4d7f1f91
tree982cd3975a978ac5e031cde5922238c361949cc2
parent8634d77bdb1df00972159fefe5caf1d28911f05f
*-user: plugin syscalls

To avoid too much duplication add a wrapper that the existing trace
and the new plugin calls can live in. We could move the -strace code
here as well but that is left for a future series as the code is
subtly different between the bsd and linux.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[AJB: wrap in syscall-trace.h, expand commit msg]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
bsd-user/syscall.c
include/user/syscall-trace.h [new file with mode: 0644]
linux-user/syscall.c