]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tracing: Fix event alignment: mce:mce_record
authorDavid Sharp <dhsharp@google.com>
Sat, 4 Dec 2010 00:13:22 +0000 (16:13 -0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Mar 2011 15:34:28 +0000 (10:34 -0500)
Signed-off-by: David Sharp <dhsharp@google.com>
LKML-Reference: <1291421609-14665-9-git-send-email-dhsharp@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/events/mce.h

index 7eee77895cb37475837c546a44aac2358f18e687..4cbbcef6baa89ffc3b53ad724f3500ba93c73fff 100644 (file)
@@ -17,36 +17,36 @@ TRACE_EVENT(mce_record,
        TP_STRUCT__entry(
                __field(        u64,            mcgcap          )
                __field(        u64,            mcgstatus       )
-               __field(        u8,             bank            )
                __field(        u64,            status          )
                __field(        u64,            addr            )
                __field(        u64,            misc            )
                __field(        u64,            ip              )
-               __field(        u8,             cs              )
                __field(        u64,            tsc             )
                __field(        u64,            walltime        )
                __field(        u32,            cpu             )
                __field(        u32,            cpuid           )
                __field(        u32,            apicid          )
                __field(        u32,            socketid        )
+               __field(        u8,             cs              )
+               __field(        u8,             bank            )
                __field(        u8,             cpuvendor       )
        ),
 
        TP_fast_assign(
                __entry->mcgcap         = m->mcgcap;
                __entry->mcgstatus      = m->mcgstatus;
-               __entry->bank           = m->bank;
                __entry->status         = m->status;
                __entry->addr           = m->addr;
                __entry->misc           = m->misc;
                __entry->ip             = m->ip;
-               __entry->cs             = m->cs;
                __entry->tsc            = m->tsc;
                __entry->walltime       = m->time;
                __entry->cpu            = m->extcpu;
                __entry->cpuid          = m->cpuid;
                __entry->apicid         = m->apicid;
                __entry->socketid       = m->socketid;
+               __entry->cs             = m->cs;
+               __entry->bank           = m->bank;
                __entry->cpuvendor      = m->cpuvendor;
        ),