NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/50485: dtrace doesn't work (fails on loading a script, psinfo.d)



The following reply was made to PR lib/50485; it has been noted by GNATS.

From: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>, lib-bug-people%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/50485: dtrace doesn't work (fails on loading a script, psinfo.d)
Date: Thu, 10 Dec 2015 17:13:57 +0900

 On Sat, Nov 28, 2015 at 10:21 PM, Christos Zoulas <christos%zoulas.com@localhost> wrote:
 > On Nov 28,  9:45am, ozaki-r%netbsd.org@localhost (ozaki-r%netbsd.org@localhost) wrote:
 > -- Subject: lib/50485: dtrace doesn't work (fails on loading a script, psinfo
 >
 > | >Number:         50485
 > | >Category:       lib
 > | >Synopsis:       dtrace doesn't work (fails on loading a script, psinfo.d)
 > | >Confidential:   no
 > | >Severity:       serious
 > | >Priority:       medium
 > | >Responsible:    lib-bug-people
 > | >State:          open
 > | >Class:          sw-bug
 > | >Submitter-Id:   net
 > | >Arrival-Date:   Sat Nov 28 09:45:00 +0000 2015
 > | >Originator:     Ryota Ozaki
 > | >Release:        NetBSD-current
 > | >Organization:
 > | >Environment:
 > | NetBSD kvm 7.99.22 NetBSD 7.99.22 (KVM) #876: Sat Nov 28 18:22:04 JST 2015  ozaki-r@rangeley:(hidden) amd64
 > | >Description:
 > | dtrace(1M) fails with the following error:
 > |
 > |   # dtrace -n BEGIN
 > |   dtrace: invalid probe specifier BEGIN: "/usr/lib/dtrace/psinfo.d", line 46: syntax error near "u_int"
 > |
 > | psinfo.d seems to contain syntax error(s). If I remove the file and try again, it works fine.
 > | >How-To-Repeat:
 > | modload dtrace
 > | dtrace -n BEGIN
 >
 > You need to build a kernel with CTF support.
 
 (Forgot to reply. Sorry for that.)
 
 You're right. It works with CTF. Thanks!
 
   ozaki-r
 


Home | Main Index | Thread Index | Old Index