Skip to content

Commit

Permalink
tracing: Fix event alignment: skb:kfree_skb
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Sharp authored and Steven Rostedt committed Mar 10, 2011
1 parent ad440ad commit ca9da2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/trace/events/skb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ca9da2d

Please sign in to comment.