All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lluís Vilanova" <vilanova@ac.upc.edu>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/2] trace: Add event for vCPU memory accesses
Date: Wed, 11 May 2016 21:55:34 +0200	[thread overview]
Message-ID: <146299653361.5203.4475655460859700214.stgit@localhost> (raw)

This series adds an event to track information related to memory accesses
performed by the guest CPUs ("guest_mem_before").

A future series might extend this to contain the physical address and memory
value (e.g., "guest_mem_after").

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---

Changes in v2
--------------

* Rebase on bfc766d.
* Rename "guest_vmem" to "guest_mem_before"
* Add memory access information. [suggested by Peter Maydell]
* Drop event "guest_vmem_user_syscall". [suggested by Peter Maydell]


Lluís Vilanova (2):
      exec: [tcg] Track which vCPU is performing translation and execution
      trace: [all] Add "guest_mem_before" event


 include/exec/cpu_ldst_template.h          |   25 ++++++++++++++++
 include/exec/cpu_ldst_useronly_template.h |   22 ++++++++++++++
 target-alpha/translate.c                  |    1 +
 target-arm/translate.c                    |    1 +
 target-cris/translate.c                   |    1 +
 target-cris/translate_v10.c               |    1 +
 target-i386/translate.c                   |    1 +
 target-lm32/translate.c                   |    1 +
 target-m68k/translate.c                   |    1 +
 target-microblaze/translate.c             |    1 +
 target-mips/translate.c                   |    1 +
 target-moxie/translate.c                  |    1 +
 target-openrisc/translate.c               |    1 +
 target-ppc/translate.c                    |    1 +
 target-s390x/translate.c                  |    1 +
 target-sh4/translate.c                    |    1 +
 target-sparc/translate.c                  |    1 +
 target-tilegx/translate.c                 |    1 +
 target-tricore/translate.c                |    1 +
 target-unicore32/translate.c              |    1 +
 target-xtensa/translate.c                 |    1 +
 tcg/tcg-op.c                              |   32 ++++++++++++++++++--
 tcg/tcg.h                                 |    4 +++
 trace-events                              |   22 ++++++++++++++
 trace/mem-internal.h                      |   46 +++++++++++++++++++++++++++++
 trace/mem.h                               |   34 +++++++++++++++++++++
 translate-all.c                           |    2 +
 27 files changed, 202 insertions(+), 4 deletions(-)
 create mode 100644 trace/mem-internal.h
 create mode 100644 trace/mem.h


To: qemu-devel@nongnu.org
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>

             reply	other threads:[~2016-05-11 21:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-11 19:55 Lluís Vilanova [this message]
2016-05-11 19:55 ` [Qemu-arm] [PATCH v2 1/2] exec: [tcg] Track which vCPU is performing translation and execution Lluís Vilanova
2016-05-11 19:55   ` [Qemu-devel] " Lluís Vilanova
2016-05-12 11:43   ` [Qemu-arm] " Paolo Bonzini
2016-05-12 11:43     ` [Qemu-devel] " Paolo Bonzini
2016-05-12 16:27     ` [Qemu-arm] " Lluís Vilanova
2016-05-12 16:27       ` Lluís Vilanova
2016-05-11 19:55 ` [Qemu-devel] [PATCH v2 2/2] trace: [all] Add "guest_mem_before" event Lluís Vilanova
2016-05-12 15:31 ` [Qemu-devel] [PATCH v2 0/2] trace: Add event for vCPU memory accesses Lluís Vilanova
  -- strict thread matches above, loose matches on Subject: below --
2016-05-11 18:41 Lluís Vilanova

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=146299653361.5203.4475655460859700214.stgit@localhost \
    --to=vilanova@ac.upc.edu \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.