From owner-freebsd-dtrace@FreeBSD.ORG Wed Oct 29 18:30:47 2014 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74A6A381 for ; Wed, 29 Oct 2014 18:30:47 +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 C2F3C1BB for ; Wed, 29 Oct 2014 18:30:45 +0000 (UTC) Received: from [192.168.248.254] ([192.168.248.254]) by elf.hq.norma.perm.ru (8.14.9/8.14.5) with ESMTP id s9TIUfeb096292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 30 Oct 2014 00:30:42 +0600 (YEKT) (envelope-from eugene@zhegan.in) Message-ID: <5451324D.2090006@zhegan.in> Date: Wed, 29 Oct 2014 23:30:37 +0500 From: "Eugene M. Zheganin" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "freebsd-dtrace@freebsd.org" Subject: Re: ufunc() doesn't work References: <5449D69C.6090009@norma.perm.ru> <20141024050804.GA25182@raichu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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]); Thu, 30 Oct 2014 00:30:42 +0600 (YEKT) X-Spam-Status: No hits=-1.0 bayes=0.5 testhits ALL_TRUSTED=-1 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: Wed, 29 Oct 2014 18:30:47 -0000 Hi. On 24.10.2014 23:54, Mark Johnston wrote: > ufunc() is available in stable/10 as of r273595. I've just updated my system to r273822: [root@taiga:~]# uname -a FreeBSD taiga 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #0 r273822: Wed Oct 29 23:20:55 YEKT 2014 emz@taiga:/usr/obj/usr/src/sys/TAIGA amd64 The world and kernel are in sync. I'm still running the kernel built after the same config as before. But, unfortunately, I've missed the ability to run dtrace scripts. What have I missed ? [root@taiga:~]# config -x /boot/kernel/kernel | egrep -i 'debug|kdtrace|ctf' makeoptions WITH_CTF=1 makeoptions DEBUG=-g options ALTQ_DEBUG options USB_DEBUG options IEEE80211_DEBUG options DDB_CTF options KDTRACE_HOOKS options KDTRACE_FRAME [root@taiga:~]# kldload dtraceall kldload: can't load dtraceall: module already loaded or in kernel [root@taiga:~]# dtrace -l | head ID PROVIDER MODULE FUNCTION NAME 1 dtrace BEGIN 2 dtrace END 3 dtrace ERROR 4 fbt kernel camstatusentrycomp entry 5 fbt kernel camstatusentrycomp return 6 fbt kernel cam_compat_handle_0x17 entry 7 fbt kernel cam_compat_handle_0x17 return 8 fbt kernel cam_periph_done entry 9 fbt kernel camperiphdone entry [root@taiga:~]# dtrace -n 'syscall:::entry { @num[execname] = count(); }' dtrace: invalid probe specifier syscall:::entry { @num[execname] = count(); }: "/usr/lib/dtrace/psinfo.d", line 37: failed to copy type of 'pr_uid': Type information is in parent and unavailable [root@taiga:~]# Thanks. Eugene.