From: David Sharp Date: Sat, 4 Dec 2010 00:13:23 +0000 (-0800) Subject: tracing: Fix event alignment: skb:kfree_skb X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca9da2dd63b0b32de1b693953dff66cadeb6400b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git tracing: Fix event alignment: skb:kfree_skb Acked-by: Neil Horman Signed-off-by: David Sharp LKML-Reference: <1291421609-14665-10-git-send-email-dhsharp@google.com> Signed-off-by: Steven Rostedt --- diff --git a/include/trace/events/skb.h b/include/trace/events/skb.h index f10293c41b1e..0c68ae22da22 100644 --- a/include/trace/events/skb.h +++ b/include/trace/events/skb.h @@ -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",