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. From owner-freebsd-dtrace@FreeBSD.ORG Thu Oct 30 11:45:02 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 167F220B for ; Thu, 30 Oct 2014 11:45:02 +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 87ECBE42 for ; Thu, 30 Oct 2014 11:45:00 +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 s9UBivwi059286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 30 Oct 2014 17:44:58 +0600 (YEKT) (envelope-from emz@norma.perm.ru) Message-ID: <545224B9.90709@norma.perm.ru> Date: Thu, 30 Oct 2014 16:44:57 +0500 From: "Eugene M. Zheganin" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.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> <5451324D.2090006@zhegan.in> In-Reply-To: <5451324D.2090006@zhegan.in> Content-Type: text/plain; charset=utf-8 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 17:44:58 +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: Thu, 30 Oct 2014 11:45:02 -0000 Hi. On 29.10.2014 23:30, Eugene M. Zheganin wrote: > 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: > I also found on one of my systems, that was updated not so recently, to a revision r271608 from an old 10.0-BETA5 revision that it also lost the ability to run dtrace. It also was capable of in while running 10.0-BETA5, but after a septebmer upgrade it now isn't. Eugene. From owner-freebsd-dtrace@FreeBSD.ORG Thu Oct 30 21:16:50 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 6F4D46D5 for ; Thu, 30 Oct 2014 21:16:50 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B4EC370 for ; Thu, 30 Oct 2014 21:16:50 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id m20so4939289qcx.16 for ; Thu, 30 Oct 2014 14:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=swjmeM7Q5dnIOPltx6zOFuDRiRe7Unb/ioNqxNDzyn4=; b=uybI8cYQLa4+dAKb6FXLXc6osEApK9/IMxL9gxSLUQpzTbcFbQ2z28yTLzWDqvBTiA K2XksnhVS6Yz1wDA65o0oeTSpjjSOjPxO110l9HLPWXHc7qadOLfGYI/8PA0bgKrTf8d M/StSWHkaPl768w8enpar4RrO2ds61XsqdDo/knppbg6+y/XXIYB9WVfNTmY5T45omIm 9+bsHkRuE04Ba1pTS/+Nf0SSShHK1I9TA4uOhGVapxSxCMC3BlG/cYrSmeEWWPC6a2Sb plyi8PzkuKh7FW7Oxz3TMr8hXS+8fyROrAvVN9fO6b92palf2GS4CBB9gkBzkqz1x5fm aSrA== X-Received: by 10.224.88.134 with SMTP id a6mr30316064qam.28.1414703809238; Thu, 30 Oct 2014 14:16:49 -0700 (PDT) Received: from ip-172-31-25-62.ec2.internal (ec2-54-85-57-1.compute-1.amazonaws.com. [54.85.57.1]) by mx.google.com with ESMTPSA id a12sm7762311qai.1.2014.10.30.14.16.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 14:16:48 -0700 (PDT) Sender: Mark Johnston Date: Thu, 30 Oct 2014 21:23:05 +0000 From: Mark Johnston To: "Eugene M. Zheganin" Subject: Re: ufunc() doesn't work Message-ID: <20141030212305.GA40520@ip-172-31-25-62.ec2.internal> References: <5449D69C.6090009@norma.perm.ru> <20141024050804.GA25182@raichu> <5451324D.2090006@zhegan.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5451324D.2090006@zhegan.in> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-dtrace@freebsd.org" 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: Thu, 30 Oct 2014 21:16:50 -0000 On Wed, Oct 29, 2014 at 11:30:37PM +0500, Eugene M. Zheganin wrote: > 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 ? Kind of a silly request, but could you try rebuilding your kernel a second time? There were some changes to the ctf tools necessitated by the clang 3.4 import, and your kernel might contain CTF data emitted by the ctf tools before they were rebuilt. That can cause the problems you're seeing. Rebuilding a second time will cause the updated tools to be used. -Mark > > [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. > _______________________________________________ > freebsd-dtrace@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace > To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe@freebsd.org"