Iosnoop.d error

Alan Somers asomers at freebsd.org
Wed Feb 12 20:49:21 UTC 2020


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) <arvarghe at cisco.com>
wrote:

> Thanks Alan where can I find the list of fields ? Appreciate the quick
> response.
>
>
>
> Regards
>
> Arun Varghese
>
>
>
> *From: *Alan Somers <asomers at freebsd.org>
> *Date: *Thursday, 13 February 2020 at 2:11 AM
> *To: *Arun Varghese <arvarghe at cisco.com>
> *Cc: *"freebsd-dtrace at freebsd.org" <freebsd-dtrace at freebsd.org>
> *Subject: *Re: Iosnoop.d error
>
>
>
> 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 <freebsd-dtrace at freebsd.org> wrote:
>
> 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
> To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe at freebsd.org"
>
>


More information about the freebsd-dtrace mailing list