linux-user: Split strace prototypes into strace.h

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.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210908154405.15417-3-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
Peter Maydell 2021-09-08 16:43:58 +01:00 committed by Laurent Vivier
parent 400b7f6d14
commit a44d57a3b9
5 changed files with 42 additions and 18 deletions

View file

@ -127,6 +127,7 @@
#include "uname.h"
#include "qemu.h"
#include "strace.h"
#include "qemu/guest-random.h"
#include "qemu/selfmap.h"
#include "user/syscall-trace.h"