mirror of https://gitee.com/openkylin/qemu.git
bsd-user: Add trace events for bsd-user
Add the bsd-user specific events and infrastructure. Only include the linux-user trace events for linux-user, not bsd-user. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Kyle Evans <kevans@freebsd.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
85fc1b5dbf
commit
6ddc1abe0f
|
@ -21,6 +21,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu.h"
|
||||
#include "signal-common.h"
|
||||
#include "trace.h"
|
||||
#include "hw/core/tcg-cpu-ops.h"
|
||||
#include "host-signal.h"
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# See docs/tracing.txt for syntax documentation.
|
||||
|
||||
# bsd-user/signal.c
|
||||
user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
user_do_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64
|
||||
user_dump_core_and_abort(void *env, int target_sig, int host_sig) "env=%p signal %d (host %d)"
|
||||
user_handle_signal(void *env, int target_sig) "env=%p signal %d"
|
||||
user_host_signal(void *env, int host_sig, int target_sig) "env=%p signal %d (target %d("
|
||||
user_queue_signal(void *env, int target_sig) "env=%p signal %d"
|
|
@ -0,0 +1 @@
|
|||
#include "trace/trace-bsd_user.h"
|
|
@ -2458,9 +2458,12 @@ trace_events_subdirs = [
|
|||
'monitor',
|
||||
'util',
|
||||
]
|
||||
if have_user
|
||||
if have_linux_user
|
||||
trace_events_subdirs += [ 'linux-user' ]
|
||||
endif
|
||||
if have_bsd_user
|
||||
trace_events_subdirs += [ 'bsd-user' ]
|
||||
endif
|
||||
if have_block
|
||||
trace_events_subdirs += [
|
||||
'authz',
|
||||
|
|
Loading…
Reference in New Issue