KVM: MMU: fix sp->unsync type error in trace event definition
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Thu, 22 Apr 2010 09:33:57 +0000 (17:33 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:29 +0000 (12:19 +0300)
sp->unsync is bool now, so update trace event declaration.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmutrace.h

index bc4f7f0be2b1d14c41c2c1fbdaa4e9185efc36ca..40a1786f36c7e5d33e8a215f48816cfad47c81c0 100644 (file)
@@ -11,7 +11,7 @@
        __field(__u64, gfn) \
        __field(__u32, role) \
        __field(__u32, root_count) \
-       __field(__u32, unsync)
+       __field(bool, unsync)
 
 #define KVM_MMU_PAGE_ASSIGN(sp)                             \
        __entry->gfn = sp->gfn;                      \