On Tue, Dec 10, 2013 at 03:43:16PM -0800, hiren panchasara wrote: > http://www.dtracebook.com/index.php/Introduction_to_DTrace:read-syscall.d > > $ sudo dtrace -n 'syscall::read:entry /execname != "dtrace"/ { > @reads[execname, fds[arg0].fi_pathname] = count(); }' > dtrace: invalid probe specifier syscall::read:entry /execname != > "dtrace"/ { @reads[execname, fds[arg0].fi_pathname] = count(); }: in > action list: fds has not yet been declared or assigned > > This is on FreeBSD -head. > > > $ sudo dtrace -l | grep " read entry" > 49341 syscall freebsd32 read entry > 50413 syscall freebsd read entry > > What am I missing? What does "invalid probe specifier " mean here? > ....
Exactly what the message says: "fds has not yet been declared or assigned". We don't presently have the fds array -- see p. 131 of the book. Peace, david -- David H. Wolfskill [email protected] Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
pgpUr1lMtYcRQ.pgp
Description: PGP signature
