From owner-freebsd-dtrace@FreeBSD.ORG Fri Oct 24 04:33:38 2014 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C80C275E for ; Fri, 24 Oct 2014 04:33:38 +0000 (UTC) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Norma UNIX CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 43E871C0 for ; Fri, 24 Oct 2014 04:33:37 +0000 (UTC) Received: from bsdrookie.norma.com. (bsdrookie.norma.com [192.168.7.224]) by elf.hq.norma.perm.ru (8.14.9/8.14.5) with ESMTP id s9O4XW54006520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 24 Oct 2014 10:33:33 +0600 (YEKT) (envelope-from emz@norma.perm.ru) Message-ID: <5449D69C.6090009@norma.perm.ru> Date: Fri, 24 Oct 2014 10:33:32 +0600 From: "Eugene M. Zheganin" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-dtrace@freebsd.org Subject: ufunc() doesn't work Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (elf.hq.norma.perm.ru [192.168.3.10]); Fri, 24 Oct 2014 10:33:33 +0600 (YEKT) X-Spam-Status: No hits=-101.0 bayes=0.5 testhits ALL_TRUSTED=-1, USER_IN_WHITELIST=-100 autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on elf.hq.norma.perm.ru X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 04:33:38 -0000 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. Thanks.