[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1275537240.29413.45.camel@edumazet-laptop>
Date: Thu, 03 Jun 2010 05:54:00 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Bill Fink <billfink@...dspring.com>
Cc: David Miller <davem@...emloft.net>, cl@...ux-foundation.org,
netdev@...r.kernel.org, shemminger@...tta.com
Subject: Re: [PATCH] IP: Increment INADDRERRORS if routing for a packet is
not successful
Le mercredi 02 juin 2010 à 23:50 -0400, Bill Fink a écrit :
> On Wed, 02 Jun 2010, David Miller wrote:
>
> > Just in case people are really so clueless as to be unable to figure
> > this out:
> >
> > echo 1 >/sys/kernel/debug/tracing/events/skb/kfree_skb/enable
> > ...do some stuff...
> > cat /sys/kernel/debug/tracing/trace
> >
> > You can even trace it using 'perf' by passing "skb:kfree_skb"
> > as the event specifier.
>
> Could someone remind me where to get documentation for obtaining
> and using perf.
>
Its sources are included in kernel tree
cd tools/perf
make
./perf --help
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists