Date: Thu, 30 Oct 2014 21:23:05 +0000 From: Mark Johnston <markj@FreeBSD.org> To: "Eugene M. Zheganin" <eugene@zhegan.in> Cc: "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org> Subject: Re: ufunc() doesn't work Message-ID: <20141030212305.GA40520@ip-172-31-25-62.ec2.internal> In-Reply-To: <5451324D.2090006@zhegan.in> References: <5449D69C.6090009@norma.perm.ru> <20141024050804.GA25182@raichu> <CAMw1wOyqwrRKnD_y9B=6ETbhbTKWyUUp%2B=u4UyN-qXLoNTGkcw@mail.gmail.com> <5451324D.2090006@zhegan.in>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141030212305.GA40520>