kvm: move new trace event outside #ifdef CONFIG_KVM_ASYNC_PF
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>
This commit is contained in:
parent
2cbd78244f
commit
3dfe6a5073
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue