]> Pileus Git - ~andy/linux/commitdiff
tracing: Fix event alignment: kvm:kvm_hv_hypercall
authorDavid Sharp <dhsharp@google.com>
Sat, 4 Dec 2010 00:13:21 +0000 (16:13 -0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Mar 2011 15:34:24 +0000 (10:34 -0500)
Acked-by: Avi Kivity <avi@redhat.com>
Signed-off-by: David Sharp <dhsharp@google.com>
LKML-Reference: <1291421609-14665-8-git-send-email-dhsharp@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kvm/trace.h

index 1357d7cf4ec86d3d4c05d4ec8d13a701db8ff2d8..db932760ea8228eceb07c4c9e36a8215b53269a5 100644 (file)
@@ -62,21 +62,21 @@ TRACE_EVENT(kvm_hv_hypercall,
        TP_ARGS(code, fast, rep_cnt, rep_idx, ingpa, outgpa),
 
        TP_STRUCT__entry(
-               __field(        __u16,          code            )
-               __field(        bool,           fast            )
                __field(        __u16,          rep_cnt         )
                __field(        __u16,          rep_idx         )
                __field(        __u64,          ingpa           )
                __field(        __u64,          outgpa          )
+               __field(        __u16,          code            )
+               __field(        bool,           fast            )
        ),
 
        TP_fast_assign(
-               __entry->code           = code;
-               __entry->fast           = fast;
                __entry->rep_cnt        = rep_cnt;
                __entry->rep_idx        = rep_idx;
                __entry->ingpa          = ingpa;
                __entry->outgpa         = outgpa;
+               __entry->code           = code;
+               __entry->fast           = fast;
        ),
 
        TP_printk("code 0x%x %s cnt 0x%x idx 0x%x in 0x%llx out 0x%llx",