From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Lluís Vilanova" <vilanova@ac.upc.edu>,
"Stefan Hajnoczi" <stefanha@redhat.com>
Subject: [Qemu-devel] [PULL 8/8] trace: Document the execution mode of guest events
Date: Wed, 28 Sep 2016 22:31:33 +0100 [thread overview]
Message-ID: <1475098293-13262-9-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1475098293-13262-1-git-send-email-stefanha@redhat.com>
From: Lluís Vilanova <vilanova@ac.upc.edu>
Explicitly state in which execution mode (user, softmmu, all) are guest
events available for tracing.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 147456962135.11114.6146034359114598596.stgit@fimbulvetr.bsc.es
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
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=%d", "vaddr=0x%016"PRIx64" info=%d"
@@ -177,6 +178,7 @@ disable vcpu tcg guest_mem_before(TCGv vaddr, uint8_t info) "info=%d", "vaddr=0x
#
# 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 arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5, uint64_t arg6, uint64_t arg7, uint64_t arg8) "num=0x%016"PRIx64" arg1=0x%016"PRIx64" arg2=0x%016"PRIx64" arg3=0x%016"PRIx64" arg4=0x%016"PRIx64" arg5=0x%016"PRIx64" arg6=0x%016"PRIx64" arg7=0x%016"PRIx64" arg8=0x%016"PRIx64
@@ -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=0x%016"PRIx64" ret=0x%016"PRIx64
--
2.7.4
next prev parent reply other threads:[~2016-09-28 21:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-28 21:31 [Qemu-devel] [PULL 0/8] Tracing patches Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 1/8] trace: move util/buffer.c trace points into correct file Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 2/8] trace: move util/qemu-coroutine*.c " Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 3/8] trace: move hw/mem/pc-dimm.c " Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 4/8] trace: move hw/virtio/virtio-balloon.c " Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 5/8] trace: Properly initialize dynamic event states in hot-plugged vCPUs Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 6/8] trace: Add event "guest_cpu_enter" Stefan Hajnoczi
2016-09-28 21:31 ` [Qemu-devel] [PULL 7/8] trace: Add event "guest_cpu_reset" Stefan Hajnoczi
2016-09-28 21:31 ` Stefan Hajnoczi [this message]
2016-09-29 18:47 ` [Qemu-devel] [PULL 0/8] Tracing patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475098293-13262-9-git-send-email-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=vilanova@ac.upc.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).