Skip to contentSkip to conversation

KVM MMU: fix sp->unsync type error in trace event definition.

PATCH Applied Gui Jianfeng 3 participants 3 messages Apr 22, 2010 – May 6, 2010

Subsystems (3)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 KVM MMU: fix sp->unsync type error in trace event definition.

sp->unsync is bool now, so update trace event declaration.

---
 arch/x86/kvm/mmutrace.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/mmutrace.h +1 -1
index 3851f1f..9966e80 100644
@@ -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;			     \
Signature · 1 line
1.6.5.2
#1 lore raw
Quoted 22 lines · Gui Jianfeng

sp->unsync is bool now, so update trace event declaration.

---
 arch/x86/kvm/mmutrace.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/mmutrace.h +1 -1
index 3851f1f..9966e80 100644
@@ -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;			     \
Signature · 1 line
1.6.5.2

Applied, thanks.

#2 lore raw
In reply to Gui Jianfeng
Quoted 12 lines · Gui Jianfeng

sp->unsync is bool now, so update trace event declaration.

---
  arch/x86/kvm/mmutrace.h |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/mmutrace.h +0 -0
index 3851f1f..9966e80 100644

arch/x86/kvm/mmutrace.h line 16

Quoted 7 lines
arch/x86/kvm/mmutrace.h +1 -1
@@ -11,7 +11,7 @@
  	__field(__u64, gfn) \
  	__field(__u32, role) \
  	__field(__u32, root_count) \
-	__field(__u32, unsync)
+	__field(bool, unsync)
 
 

This was intended to be more or less binary compatible (well, mmutrace not so much).

Signature · 1 line
error compiling committee.c: too many arguments to function