MIPS: KVM: Add guest mode switch trace events
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Jun 2016 08:40:14 +0000 (09:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:16:24 +0000 (11:16 +0200)
commit93258604ab6d3f2bdc6cb02f61961af56712f144
tree999610e5e0d6bcb59b8a842344b1a1fd8b0669cd
parent9887d1c75ba2f210b403d536ab025d4b2b36fb57
MIPS: KVM: Add guest mode switch trace events

Add a few trace events for entering and coming out of guest mode, as well
as re-entering it from a guest exit exception.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mips.c
arch/mips/kvm/trace.h