amd64/185290: Dtrace does not work on -stable/10
Robert David
robert.david.public at gmail.com
Mon Dec 30 18:00:02 UTC 2013
The following reply was made to PR amd64/185290; it has been noted by GNATS.
From: Robert David <robert.david.public at gmail.com>
To: John-Mark Gurney <jmg at funkthat.com>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: amd64/185290: Dtrace does not work on -stable/10
Date: Mon, 30 Dec 2013 18:52:18 +0100
Hi John-Mark,
thanks for fast reply. Yes I got all modules loaded:
root at notebook ~src (git)-[53624fa...] # dtrace -l | wc -l
42596
root at notebook ~src (git)-[53624fa...] # kldstat
Id Refs Address Size Name
1 109 0xffffffff80200000 b1b000 kernel
2 15 0xffffffff80eda000 594d opensolaris.ko
3 1 0xffffffff80ee0000 223a51 zfs.ko
4 1 0xffffffff81104000 4632 acpi_dock.ko
5 1 0xffffffff81109000 6df3 acpi_ibm.ko
6 1 0xffffffff81110000 149d5 ehci.ko
7 1 0xffffffff81125000 fd38 uhci.ko
8 1 0xffffffff81135000 efc3 ukbd.ko
9 1 0xffffffff81212000 9bb4 linprocfs.ko
10 2 0xffffffff8121c000 42d5a linux.ko
11 1 0xffffffff8125f000 5219 fdescfs.ko
12 1 0xffffffff81265000 13050 ext2fs.ko
13 1 0xffffffff81279000 a07d tmpfs.ko
14 1 0xffffffff81284000 d863 fuse.ko
15 1 0xffffffff81292000 b41a aio.ko
16 3 0xffffffff8129e000 3f5a libiconv.ko
17 1 0xffffffff812a2000 153f libmchain.ko
18 1 0xffffffff812a4000 791 cd9660_iconv.ko
19 1 0xffffffff812a5000 799 msdosfs_iconv.ko
20 1 0xffffffff812a6000 2915 coretemp.ko
21 1 0xffffffff812a9000 5556 if_tap.ko
22 1 0xffffffff812af000 5499 linsysfs.ko
23 1 0xffffffff812b5000 2ecf0 vboxdrv.ko
24 1 0xffffffff812e4000 10769 ipfw.ko
25 1 0xffffffff812f5000 aeb0 i915.ko
26 1 0xffffffff81300000 1478c drm.ko
27 1 0xffffffff81315000 8bf dtraceall.ko
28 3 0xffffffff81316000 1da9 cyclic.ko
29 11 0xffffffff81318000 35e47 dtrace.ko
30 1 0xffffffff8134e000 edf dtio.ko
31 1 0xffffffff8134f000 44b3 dtmalloc.ko
32 1 0xffffffff81354000 2203 dtnfscl.ko
33 1 0xffffffff81357000 6254 fbt.ko
34 1 0xffffffff8135e000 a5a3 fasttrap.ko
35 1 0xffffffff81369000 482f lockstat.ko
36 1 0xffffffff8136e000 4af9 sdt.ko
37 1 0xffffffff81373000 d4c4 systrace.ko
38 1 0xffffffff81381000 d138 systrace_freebsd32.ko
39 1 0xffffffff8138f000 4b49 profile.ko
40 1 0xffffffff81394000 34a6 ums.ko
41 1 0xffffffff81398000 2a08 uhid.ko
I just tried to play with kernel and anything here is enabled (dtrace stuff). On plain GENERIC kernel it is the same.
Robert.
On Mon, 30 Dec 2013 09:28:49 -0800
John-Mark Gurney <jmg at funkthat.com> wrote:
> 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 at 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..
>
More information about the freebsd-amd64
mailing list