Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 22:08:04 -0700
From:      Mark Johnston <markj@FreeBSD.org>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        freebsd-dtrace@freebsd.org
Subject:   Re: ufunc() doesn't work
Message-ID:  <20141024050804.GA25182@raichu>
In-Reply-To: <5449D69C.6090009@norma.perm.ru>
References:  <5449D69C.6090009@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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