Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2014 10:54:35 -0700
From:      Mark Johnston <markj@freebsd.org>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org>
Subject:   Re: ufunc() doesn't work
Message-ID:  <CAMw1wOyqwrRKnD_y9B=6ETbhbTKWyUUp%2B=u4UyN-qXLoNTGkcw@mail.gmail.com>
In-Reply-To: <20141024050804.GA25182@raichu>
References:  <5449D69C.6090009@norma.perm.ru> <20141024050804.GA25182@raichu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 23, 2014 at 10:08 PM, Mark Johnston <markj@freebsd.org> wrote:
> 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.

ufunc() is available in stable/10 as of r273595.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMw1wOyqwrRKnD_y9B=6ETbhbTKWyUUp%2B=u4UyN-qXLoNTGkcw>