tracing: Fix event alignment: skb:kfree_skb
authorDavid Sharp <dhsharp@google.com>
Sat, 4 Dec 2010 00:13:23 +0000 (16:13 -0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Mar 2011 15:34:31 +0000 (10:34 -0500)
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David Sharp <dhsharp@google.com>
LKML-Reference: <1291421609-14665-10-git-send-email-dhsharp@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/events/skb.h

index f10293c..0c68ae2 100644 (file)
@@ -19,14 +19,14 @@ TRACE_EVENT(kfree_skb,
 
        TP_STRUCT__entry(
                __field(        void *,         skbaddr         )
-               __field(        unsigned short, protocol        )
                __field(        void *,         location        )
+               __field(        unsigned short, protocol        )
        ),
 
        TP_fast_assign(
                __entry->skbaddr = skb;
-               __entry->protocol = ntohs(skb->protocol);
                __entry->location = location;
+               __entry->protocol = ntohs(skb->protocol);
        ),
 
        TP_printk("skbaddr=%p protocol=%u location=%p",