From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 30 17:30:01 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3667383A for ; Mon, 30 Dec 2013 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2212E1EEF for ; Mon, 30 Dec 2013 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUHU0nS045494 for ; Mon, 30 Dec 2013 17:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBUHU0O7045493; Mon, 30 Dec 2013 17:30:00 GMT (envelope-from gnats) Date: Mon, 30 Dec 2013 17:30:00 GMT Message-Id: <201312301730.rBUHU0O7045493@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org Cc: From: John-Mark Gurney Subject: Re: amd64/185290: Dtrace does not work on -stable/10 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 17:30:01 -0000 The following reply was made to PR amd64/185290; it has been noted by GNATS. From: John-Mark Gurney To: Robert David 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."