diff options
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 2 | ||||
-rw-r--r-- | arch/powerpc/kvm/trace_pr.h | 20 |
2 files changed, 2 insertions, 20 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 288b4bb05cbd..4c79284b58be 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -1347,3 +1347,5 @@ void kvm_arch_exit(void) | |||
1347 | { | 1347 | { |
1348 | 1348 | ||
1349 | } | 1349 | } |
1350 | |||
1351 | EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_ppc_instr); | ||
diff --git a/arch/powerpc/kvm/trace_pr.h b/arch/powerpc/kvm/trace_pr.h index a674f090dfb8..e1357cd8dc1f 100644 --- a/arch/powerpc/kvm/trace_pr.h +++ b/arch/powerpc/kvm/trace_pr.h | |||
@@ -291,26 +291,6 @@ TRACE_EVENT(kvm_unmap_hva, | |||
291 | TP_printk("unmap hva 0x%lx\n", __entry->hva) | 291 | TP_printk("unmap hva 0x%lx\n", __entry->hva) |
292 | ); | 292 | ); |
293 | 293 | ||
294 | TRACE_EVENT(kvm_ppc_instr, | ||
295 | TP_PROTO(unsigned int inst, unsigned long _pc, unsigned int emulate), | ||
296 | TP_ARGS(inst, _pc, emulate), | ||
297 | |||
298 | TP_STRUCT__entry( | ||
299 | __field( unsigned int, inst ) | ||
300 | __field( unsigned long, pc ) | ||
301 | __field( unsigned int, emulate ) | ||
302 | ), | ||
303 | |||
304 | TP_fast_assign( | ||
305 | __entry->inst = inst; | ||
306 | __entry->pc = _pc; | ||
307 | __entry->emulate = emulate; | ||
308 | ), | ||
309 | |||
310 | TP_printk("inst %u pc 0x%lx emulate %u\n", | ||
311 | __entry->inst, __entry->pc, __entry->emulate) | ||
312 | ); | ||
313 | |||
314 | #endif /* _TRACE_KVM_H */ | 294 | #endif /* _TRACE_KVM_H */ |
315 | 295 | ||
316 | /* This part must be outside protection */ | 296 | /* This part must be outside protection */ |