summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/trace_pr.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kvm/trace_pr.h')
-rw-r--r--arch/powerpc/kvm/trace_pr.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/arch/powerpc/kvm/trace_pr.h b/arch/powerpc/kvm/trace_pr.h
index 85785a370c0e..46a46d328fbf 100644
--- a/arch/powerpc/kvm/trace_pr.h
+++ b/arch/powerpc/kvm/trace_pr.h
@@ -8,8 +8,6 @@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM kvm_pr
-#define TRACE_INCLUDE_PATH .
-#define TRACE_INCLUDE_FILE trace_pr
TRACE_EVENT(kvm_book3s_reenter,
TP_PROTO(int r, struct kvm_vcpu *vcpu),
@@ -254,22 +252,14 @@ TRACE_EVENT(kvm_exit,
)
);
-TRACE_EVENT(kvm_unmap_hva,
- TP_PROTO(unsigned long hva),
- TP_ARGS(hva),
-
- TP_STRUCT__entry(
- __field( unsigned long, hva )
- ),
+#endif /* _TRACE_KVM_H */
- TP_fast_assign(
- __entry->hva = hva;
- ),
+/* This part must be outside protection */
- TP_printk("unmap hva 0x%lx\n", __entry->hva)
-);
+#undef TRACE_INCLUDE_PATH
+#undef TRACE_INCLUDE_FILE
-#endif /* _TRACE_KVM_H */
+#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_FILE trace_pr
-/* This part must be outside protection */
#include <trace/define_trace.h>