Re: Iosnoop.d error

2020-02-12 Thread Arun Varghese (arvarghe) via freebsd-dtrace
Thanks Alan where can I find the list of fields ? Appreciate the quick response. Regards Arun Varghese From: Alan Somers Date: Thursday, 13 February 2020 at 2:11 AM To: Arun Varghese Cc: "freebsd-dtrace@freebsd.org" Subject: Re: Iosnoop.d error The error means just what it says: there is

Re: Iosnoop.d error

2020-02-12 Thread Alan Somers
The error means just what it says: there is no field named dev_statname. Did you mean device_name ? On Wed, Feb 12, 2020 at 1:30 PM Arun Varghese (arvarghe) via freebsd-dtrace wrote: > Hi , > > > > Can someone help me with this erro on freebsd 10.4 ? > > ./dtrace -qs iosnoop.d > > dtrace:

Iosnoop.d error

2020-02-12 Thread Arun Varghese (arvarghe) via freebsd-dtrace
Hi , Can someone help me with this erro on freebsd 10.4 ? ./dtrace -qs iosnoop.d dtrace: failed to compile script iosnoop.d: line 10: dev_statname is not a member of struct devstat Regards Arun Varghese ___ freebsd-dtrace@freebsd.org mailing list

Re: Iosnoop.d error

2020-02-12 Thread Alan Somers
Just look in the source. The easiest way is to use cscope. If you don't have that setup, then grep. System headers like this one happen to be installed in /usr/include/sys, so you can look there if you don't have source checked out. On Wed, Feb 12, 2020 at 1:43 PM Arun Varghese (arvarghe)