ufunc() doesn't work

Mark Johnston markj at FreeBSD.org
Fri Oct 24 05:08:20 UTC 2014


On Fri, Oct 24, 2014 at 10:33:32AM +0600, Eugene M. Zheganin wrote:
> Hi.
> 
> I'm new to dtrace and I test various examples while learning, but it
> seems to me that I miss something. This example doesn't work on FreeBSD:
> 
> dtrace -n 'profile-97/arg1/ { @[ufunc(arg1)] = count(); }'
> 
> although it works fine on Solaris. As I understand, ufunc() is some kine
> of core function, not the stuff brought by some provider that is
> probably missing on FreeBSD. Why doesn't this work ? I use it on FreeBSD
> 10.0-STABLE r261282.

Hi,

The ufunc function (as well as umod and sym) is available on HEAD but
not in stable/10. I'll merge the change as soon as I've verified that it
builds. Thanks for pointing this out.

-Mark


More information about the freebsd-dtrace mailing list