Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 15:13:57 -0500 (EST)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        scott4long@yahoo.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: ixgbe/NFS m_defrag() instrumentation
Message-ID:  <201402052013.s15KDvha014110@hergotha.csail.mit.edu>
In-Reply-To: <E6B5E96C-A579-4187-B2FB-61B6B5E90D7F@yahoo.com>
References:  <21233.52147.912022.488615@hergotha.csail.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <E6B5E96C-A579-4187-B2FB-61B6B5E90D7F@yahoo.com>, Scott
Long writes:

>dtrace to the rescue?
>
>#!/usr/sbin/dtrace -s
>fbt::m_defrag:entry
>{
>	@ = count();
>}

I don't know where else m_defrag() might be called from, so I would be
more inclined to make that

	@[stack()] = count();

if I were going the dtrace route.

-GAWollman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402052013.s15KDvha014110>