[PATCH 0/8] MIPS: KVM: Debug & trace event improvements

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

 



These patches improve debugging and trace events in MIPS KVM.

They are are based on my previous two MIPS KVM patchsets:

[PATCH 0/4] MIPS: KVM: Module + non dynamic translating fixes
[PATCH 00/18] MIPS: KVM: Miscellaneous clean-ups

Patch 1 is just a rename (in preparation for later VZ support), and is
included so that patch 2 doesn't have inconsistent naming or need
changing again later.

Patches 2-6 add and clean up KVM trace events:
- kvm_exit trace event cleaned up
- Add kvm_aux, kvm_asid_change, kvm_enter, kvm_reenter, kvm_out,
  kvm_hwr trace events.

Finally Patches 7-8 make a few minor tweaks for debugging purposes.

James Hogan (8):
  MIPS: KVM: Generalise fpu_inuse for other state
  MIPS: KVM: Add kvm_aux trace event
  MIPS: KVM: Clean up kvm_exit trace event
  MIPS: KVM: Add kvm_asid_change trace event
  MIPS: KVM: Add guest mode switch trace events
  MIPS: KVM: Trace guest register access emulation
  MIPS: KVM: Dump guest tlbs if kvm_get_inst() fails
  MIPS: KVM: Print unknown load/store encodings

 arch/mips/include/asm/kvm_host.h |  30 +----
 arch/mips/kvm/emulate.c          |  56 +++++----
 arch/mips/kvm/mips.c             |  70 +++++------
 arch/mips/kvm/mmu.c              |   1 +
 arch/mips/kvm/stats.c            |  21 ----
 arch/mips/kvm/trace.h            | 248 ++++++++++++++++++++++++++++++++++++++-
 6 files changed, 318 insertions(+), 108 deletions(-)

Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Cc: Radim Krčmář <rkrcmar@xxxxxxxxxx>
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
Cc: kvm@xxxxxxxxxxxxxxx
-- 
2.4.10





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux