From f52347d5b023dd2ab5518a4faaf2e0cee55c1915 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 16 Jun 2016 09:40:26 +0100 Subject: trace: split out trace events for linux-user/ directory Move all trace-events for files in the linux-user/ directory to their own file. Signed-off-by: Daniel P. Berrange Reviewed-by: Laurent Vivier Message-id: 1466066426-16657-41-git-send-email-berrange@redhat.com Signed-off-by: Stefan Hajnoczi --- Makefile.objs | 1 + linux-user/trace-events | 12 ++++++++++++ trace-events | 11 ----------- 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 linux-user/trace-events diff --git a/Makefile.objs b/Makefile.objs index 9f2c260e1e..7f1f0a3ffd 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -157,3 +157,4 @@ trace-events-y += target-sparc/trace-events trace-events-y += target-s390x/trace-events trace-events-y += target-ppc/trace-events trace-events-y += qom/trace-events +trace-events-y += linux-user/trace-events diff --git a/linux-user/trace-events b/linux-user/trace-events new file mode 100644 index 0000000000..80a2e07812 --- /dev/null +++ b/linux-user/trace-events @@ -0,0 +1,12 @@ +# See docs/trace-events.txt for syntax documentation. + +# linux-user/signal.c +user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 +user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 +user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 +user_do_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 +user_force_sig(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" +user_s390x_restore_sigregs(void *env, uint64_t sc_psw_addr, uint64_t env_psw_addr) "env=%p frame psw.addr %"PRIx64 " current psw.addr %"PRIx64 diff --git a/trace-events b/trace-events index e6632dfa88..9d76de8574 100644 --- a/trace-events +++ b/trace-events @@ -136,17 +136,6 @@ memory_region_subpage_write(int cpu_index, void *mr, uint64_t offset, uint64_t v memory_region_tb_read(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u" memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u" -# linux-user/signal.c -user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 -user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 -user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 -user_do_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64 -user_force_sig(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" -user_s390x_restore_sigregs(void *env, uint64_t sc_psw_addr, uint64_t env_psw_addr) "env=%p frame psw.addr %"PRIx64 " current psw.addr %"PRIx64 - ### Guest events, keep at bottom # @vaddr: Access' virtual address. -- cgit v1.2.3