]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb4b0c530b20bd5952fb7aa8e9b0ed5abfc7e14a
tree999610e5e0d6bcb59b8a842344b1a1fd8b0669cd
parent441df2187aab392d344c57bcf6319729b3c905b7
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