projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cbd782
)
kvm: move new trace event outside #ifdef CONFIG_KVM_ASYNC_PF
author
Wanpeng Li
<wanpeng.li@hotmail.com>
Tue, 8 Sep 2015 09:14:13 +0000
(11:14 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 8 Sep 2015 09:16:40 +0000
(11:16 +0200)
Fixes compilation with ppc64_defconfig.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/trace/events/kvm.h
patch
|
blob
|
history
diff --git
a/include/trace/events/kvm.h
b/include/trace/events/kvm.h
index 0d1bc478833b9b85a3948d452d37cbd7428752f9..d6f83222a6a1671ec819d730801398ebb88f80ab 100644
(file)
--- a/
include/trace/events/kvm.h
+++ b/
include/trace/events/kvm.h
@@
-356,6
+356,8
@@
TRACE_EVENT(
__entry->address)
);
+#endif
+
TRACE_EVENT(kvm_halt_poll_ns,
TP_PROTO(bool grow, unsigned int vcpu_id, int new, int old),
TP_ARGS(grow, vcpu_id, new, old),
@@
-386,8
+388,6
@@
TRACE_EVENT(kvm_halt_poll_ns,
#define trace_kvm_halt_poll_ns_shrink(vcpu_id, new, old) \
trace_kvm_halt_poll_ns(false, vcpu_id, new, old)
-#endif
-
#endif /* _TRACE_KVM_MAIN_H */
/* This part must be outside protection */