[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100603005619.48138462.billfink@mindspring.com>
Date: Thu, 3 Jun 2010 00:56:19 -0400
From: Bill Fink <billfink@...dspring.com>
To: Eric Dumazet <eric.dumazet@...il.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
On Thu, 03 Jun 2010, Eric Dumazet wrote:
> 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
Thanks. That seems easy enough. From some gitweb digging, it
appears perf first appeared in 2.6.31 kernels, so I'm going to
have to do a kernel upgrade from our current 2.6.30.10 kernels.
For others, I also ran across a perf wiki page at:
https://perf.wiki.kernel.org/index.php/Main_Page
-Bill
--
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