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>
This commit is contained in:
parent
ad440ad66f
commit
ca9da2dd63
|
@ -19,14 +19,14 @@ TRACE_EVENT(kfree_skb,
|
||||||
|
|
||||||
TP_STRUCT__entry(
|
TP_STRUCT__entry(
|
||||||
__field( void *, skbaddr )
|
__field( void *, skbaddr )
|
||||||
__field( unsigned short, protocol )
|
|
||||||
__field( void *, location )
|
__field( void *, location )
|
||||||
|
__field( unsigned short, protocol )
|
||||||
),
|
),
|
||||||
|
|
||||||
TP_fast_assign(
|
TP_fast_assign(
|
||||||
__entry->skbaddr = skb;
|
__entry->skbaddr = skb;
|
||||||
__entry->protocol = ntohs(skb->protocol);
|
|
||||||
__entry->location = location;
|
__entry->location = location;
|
||||||
|
__entry->protocol = ntohs(skb->protocol);
|
||||||
),
|
),
|
||||||
|
|
||||||
TP_printk("skbaddr=%p protocol=%u location=%p",
|
TP_printk("skbaddr=%p protocol=%u location=%p",
|
||||||
|
|
Loading…
Reference in New Issue