qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] trace: Document the execution mode of guest events
@ 2016-09-22 18:40 Lluís Vilanova
  2016-09-23 13:34 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Lluís Vilanova @ 2016-09-22 18:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi

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>
---
 trace-events |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/trace-events b/trace-events
index 9922bcd..e0c3f91 100644
--- a/trace-events
+++ b/trace-events
@@ -158,6 +158,7 @@ memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned si
 #     bool    store      : 1; /* wheter it's a store operation */
 # };
 #
+# Mode: user, softmmu
 # Targets: TCG(all)
 vcpu tcg guest_mem_before(TCGv vaddr, uint8_t info) "info=%d", "vaddr=0x%016"PRIx64" info=%d"
 
@@ -166,6 +167,7 @@ vcpu tcg guest_mem_before(TCGv vaddr, uint8_t info) "info=%d", "vaddr=0x%016"PRI
 #
 # 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
 
@@ -174,5 +176,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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] trace: Document the execution mode of guest events
  2016-09-22 18:40 [Qemu-devel] [PATCH] trace: Document the execution mode of guest events Lluís Vilanova
@ 2016-09-23 13:34 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2016-09-23 13:34 UTC (permalink / raw)
  To: Lluís Vilanova; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

On Thu, Sep 22, 2016 at 08:40:21PM +0200, Lluís Vilanova wrote:
> 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>
> ---
>  trace-events |    3 +++
>  1 file changed, 3 insertions(+)

Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-23 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 18:40 [Qemu-devel] [PATCH] trace: Document the execution mode of guest events Lluís Vilanova
2016-09-23 13:34 ` Stefan Hajnoczi

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).