Received: from eggs.gnu.org ([2001:4830:134:3::10]:51131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpMSM-0001JN-NH for qemu-devel@nongnu.org; Wed, 28 Sep 2016 17:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpMSK-00053t-U9 for qemu-devel@nongnu.org; Wed, 28 Sep 2016 17:31:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpMSK-00053l-NU for qemu-devel@nongnu.org; Wed, 28 Sep 2016 17:31:56 -0400 From: Stefan Hajnoczi Date: Wed, 28 Sep 2016 22:31:33 +0100 Message-Id: <1475098293-13262-9-git-send-email-stefanha@redhat.com> In-Reply-To: <1475098293-13262-1-git-send-email-stefanha@redhat.com> References: <1475098293-13262-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 8/8] trace: Document the execution mode of guest events List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , =?UTF-8?q?Llu=C3=ADs=20Vilanova?= , Stefan Hajnoczi From: Llu=C3=ADs Vilanova Explicitly state in which execution mode (user, softmmu, all) are guest events available for tracing. Signed-off-by: Llu=C3=ADs Vilanova Message-id: 147456962135.11114.6146034359114598596.stgit@fimbulvetr.bsc.e= s Signed-off-by: Stefan Hajnoczi --- trace-events | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trace-events b/trace-events index fb96f6c..1a4e092 100644 --- a/trace-events +++ b/trace-events @@ -169,6 +169,7 @@ vcpu guest_cpu_reset(void) # bool store : 1; /* wheter it's a store operation */ # }; # +# Mode: user, softmmu # Targets: TCG(all) disable vcpu tcg guest_mem_before(TCGv vaddr, uint8_t info) "info=3D%d",= "vaddr=3D0x%016"PRIx64" info=3D%d" =20 @@ -177,6 +178,7 @@ disable vcpu tcg guest_mem_before(TCGv vaddr, uint8_t= info) "info=3D%d", "vaddr=3D0x # # Start executing a guest system call in syscall emulation mode. # +# Mode: user # Targets: TCG(all) disable vcpu guest_user_syscall(uint64_t num, uint64_t arg1, uint64_t ar= g2, uint64_t arg3, uint64_t arg4, uint64_t arg5, uint64_t arg6, uint64_t = arg7, uint64_t arg8) "num=3D0x%016"PRIx64" arg1=3D0x%016"PRIx64" arg2=3D0= x%016"PRIx64" arg3=3D0x%016"PRIx64" arg4=3D0x%016"PRIx64" arg5=3D0x%016"P= RIx64" arg6=3D0x%016"PRIx64" arg7=3D0x%016"PRIx64" arg8=3D0x%016"PRIx64 =20 @@ -185,5 +187,6 @@ disable vcpu guest_user_syscall(uint64_t num, uint64_= t arg1, uint64_t arg2, uint # # Finish executing a guest system call in syscall emulation mode. # +# Mode: user # Targets: TCG(all) disable vcpu guest_user_syscall_ret(uint64_t num, uint64_t ret) "num=3D0= x%016"PRIx64" ret=3D0x%016"PRIx64 --=20 2.7.4