summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorDavid Sharp <dhsharp@google.com>2010-12-03 16:13:23 -0800
committerSteven Rostedt <rostedt@goodmis.org>2011-03-10 10:34:31 -0500
commitca9da2dd63b0b32de1b693953dff66cadeb6400b (patch)
tree0a2fe573eb42e0eefe78c3fc4c52fee896969ce9 /include/trace
parentad440ad66f1617194738bf674dfe2d38978ac54d (diff)
downloadop-kernel-dev-ca9da2dd63b0b32de1b693953dff66cadeb6400b.zip
op-kernel-dev-ca9da2dd63b0b32de1b693953dff66cadeb6400b.tar.gz
tracing: Fix event alignment: skb:kfree_skb
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>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/skb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/skb.h b/include/trace/events/skb.h
index f10293c..0c68ae22 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",
OpenPOWER on IntegriCloud