summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-06-18 11:47:27 -0300
committerAvi Kivity <avi@redhat.com>2009-09-10 08:33:03 +0300
commit46f43c6ee022c3aeb9686b104234b9f27fac03c2 (patch)
treecd7187419d488518983935fe68496d5adc5f3763 /arch/powerpc/kvm/emulate.c
parented85c0685321a139cefd6622b21467643f0159e1 (diff)
downloadop-kernel-dev-46f43c6ee022c3aeb9686b104234b9f27fac03c2.zip
op-kernel-dev-46f43c6ee022c3aeb9686b104234b9f27fac03c2.tar.gz
KVM: powerpc: convert marker probes to event trace
[avi: make it build] [avi: fold trace-arch.h into trace.h] CC: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
-rw-r--r--arch/powerpc/kvm/emulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 28a8237..7737146 100644
--- a/arch/powerpc/kvm/emulate.c
+++ b/arch/powerpc/kvm/emulate.c
@@ -29,6 +29,7 @@
#include <asm/kvm_ppc.h>
#include <asm/disassemble.h>
#include "timing.h"
+#include "trace.h"
#define OP_TRAP 3
@@ -419,7 +420,7 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu)
}
}
- KVMTRACE_3D(PPC_INSTR, vcpu, inst, (int)vcpu->arch.pc, emulated, entryexit);
+ trace_kvm_ppc_instr(inst, vcpu->arch.pc, emulated);
if (advance)
vcpu->arch.pc += 4; /* Advance past emulated instruction. */
OpenPOWER on IntegriCloud