lkml.org 
[lkml]   [2010]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/15] ftrace: fix event alignment: skb:kfree_skb
On Fri, Dec 03, 2010 at 08:52:05PM -0500, Steven Rostedt wrote:
> [ Ccing Neil for Acked-by ]
>
> -- Steve
>
>
Looks good, thanks!
Acked-by: Neil Horman <nhorman@tuxdriver.com>


> On Fri, 2010-12-03 at 16:13 -0800, David Sharp wrote:
> > Signed-off-by: David Sharp <dhsharp@google.com>
> > ---
> > include/trace/events/skb.h | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/include/trace/events/skb.h b/include/trace/events/skb.h
> > index 75ce9d5..aa4a56a 100644
> > --- a/include/trace/events/skb.h
> > +++ b/include/trace/events/skb.h
> > @@ -19,16 +19,16 @@ 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->location = location;
> > if (skb) {
> > __entry->protocol = ntohs(skb->protocol);
> > }
> > - __entry->location = location;
> > ),
> >
> > TP_printk("skbaddr=%p protocol=%u location=%p",
>
>
>


\
 
 \ /
  Last update: 2010-12-04 14:41    [W:0.102 / U:8.740 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site