From 4b25a50674de41e72f6b3003e3c8c74ca95503d3 Mon Sep 17 00:00:00 2001 From: Josh Kunz Date: Mon, 3 Feb 2020 18:54:14 -0800 Subject: linux-user: Use `qemu_log' for strace This change switches linux-user strace logging to use the newer `qemu_log` logging subsystem rather than the older `gemu_log` (notice the "g") logger. `qemu_log` has several advantages, namely that it allows logging to a file, and provides a more unified interface for configuration of logging (via the QEMU_LOG environment variable or options). This change introduces a new log mask: `LOG_STRACE` which is used for logging of user-mode strace messages. Reviewed-by: Laurent Vivier Signed-off-by: Josh Kunz Message-Id: <20200204025416.111409-3-jkz@google.com> Signed-off-by: Laurent Vivier --- linux-user/qemu.h | 1 - 1 file changed, 1 deletion(-) (limited to 'linux-user/qemu.h') diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 560a68090e..2421dc7afd 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -386,7 +386,6 @@ void print_syscall_ret(int num, abi_long arg1); * --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} --- */ void print_taken_signal(int target_signum, const target_siginfo_t *tinfo); -extern int do_strace; /* signal.c */ void process_pending_signals(CPUArchState *cpu_env); -- cgit v1.2.3