public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: kvm@vger.kernel.org
Cc: Marcelo Tosatti <mtosatti@redhat.com>, Gleb Natapov <gleb@redhat.com>
Subject: [PATCH 0/2] Trace emulated instrucions
Date: Thu, 25 Mar 2010 17:02:54 +0200	[thread overview]
Message-ID: <1269529376-17650-1-git-send-email-avi@redhat.com> (raw)

Add a trace of instruction emulation into ftrace.  This can help analyze
performance issues, or, in the case of failed emulation, identify the
missing instructions.

Avi Kivity (2):
  KVM: x86 emulator: Don't overwrite decode cache
  KVM: Trace emulated instructions

 arch/x86/kvm/emulate.c |   19 +++++-----
 arch/x86/kvm/trace.h   |   86 ++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/kvm/x86.c     |    4 ++
 3 files changed, 100 insertions(+), 9 deletions(-)


             reply	other threads:[~2010-03-25 15:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 15:02 Avi Kivity [this message]
2010-03-25 15:02 ` [PATCH 1/2] KVM: x86 emulator: Don't overwrite decode cache Avi Kivity
2010-03-25 15:02 ` [PATCH 2/2] KVM: Trace emulated instructions Avi Kivity
2010-04-05 18:44   ` Marcelo Tosatti
2010-04-05 21:38     ` Avi Kivity
2010-04-06 18:52       ` Marcelo Tosatti

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=1269529376-17650-1-git-send-email-avi@redhat.com \
    --to=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox