[PATCH v2 0/2] Trace emulated instrucions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

v2:
    - trace all emulation starts
    - add missing statistic increment on failure
      (long term we need to get rid of those in favour of perf)

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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux