On 9/8/21 8:43 AM, Peter Maydell wrote:
The functions implemented in strace.c are only used in a few files in
linux-user; split them out of qemu.h and into a new strace.h header
which we include in the places that need it.
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
linux-user/qemu.h | 18 ------------------
linux-user/strace.h | 38 ++++++++++++++++++++++++++++++++++++++
linux-user/signal.c | 1 +
linux-user/strace.c | 2 ++
linux-user/syscall.c | 1 +
5 files changed, 42 insertions(+), 18 deletions(-)
create mode 100644 linux-user/strace.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~