[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100602174106.GA6748@hmsreliant.think-freely.org>
Date: Wed, 2 Jun 2010 13:41:06 -0400
From: Neil Horman <nhorman@...driver.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 Wed, Jun 02, 2010 at 07:19:10PM +0200, Eric Dumazet wrote:
> Le mercredi 02 juin 2010 à 10:12 -0700, David Miller a écrit :
> > From: Christoph Lameter <cl@...ux-foundation.org>
> > Date: Wed, 2 Jun 2010 11:49:18 -0500 (CDT)
> >
> > > On Wed, 2 Jun 2010, Eric Dumazet wrote:
> > >
> > >> take a look at
> > >>
> > >> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/SystemTap_Beginners_Guide/useful-systemtap-scripts.html#dropwatch
> > >
> > > System tap?
> >
> > You don't need to use system tap, just the normal tracing stuff using
> > sysfs files suffices.
> >
>
> It would be good if Neil could gave us a man page or something ;)
>
That stap script was really meant to be a stopgap measure. As mentioned, you
can use the debugfs interface to turn tracepoints on and use them anyway you
wish. Or, if you want to use the kfree_skb and napi_poll tracepoints in a more
formalized way, you can use the dropwatch user space utility:
https://fedorahosted.org/dropwatch/
Which includes a man page on usage :)
I also recently updated it so that this utility can query /proc/kallsyms to
translate program counter values into symbollic names and offsets for you. :)
Regards
Neil
--
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