Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 17:30:00 GMT
From:      John-Mark Gurney <jmg@funkthat.com>
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/185290: Dtrace does not work on -stable/10
Message-ID:  <201312301730.rBUHU0O7045493@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/185290; it has been noted by GNATS.

From: John-Mark Gurney <jmg@funkthat.com>
To: Robert David <robert.david.public@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/185290: Dtrace does not work on -stable/10
Date: Mon, 30 Dec 2013 09:28:49 -0800

 Robert David wrote this message on Mon, Dec 30, 2013 at 12:00 +0000:
 > >Description:
 > All simple dtrace oneliners I tryed has the same output:
 > 
 > root@notebook ~ # dtrace -n 'syscall:::entry { @num[execname] = count(); }'
 > dtrace: invalid probe specifier syscall:::entry { @num[execname] = count(); }: "/usr/lib/dtrace/io.d", line 43: operator -> cannot be applied to a forward declaration: no struct devstat definition is available
 
 Did you do a:
 kldload dtraceall
 
 on the system?  Just dtrace.ko isn't enough to have dtrace work..  What
 does dtrace -l say?  If you just have dtrace.ko loaded, you'll see
 something like:
 # dtrace -l
    ID   PROVIDER            MODULE                          FUNCTION NAME
     1     dtrace                                                     BEGIN
     2     dtrace                                                     END
     3     dtrace                                                     ERROR
 
 if you have dtraceall.ko loaded, you should see many pages of lines..
 
 -- 
   John-Mark Gurney				Voice: +1 415 225 5579
 
      "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312301730.rBUHU0O7045493>