Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2020 13:49:07 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        "Arun Varghese (arvarghe)" <arvarghe@cisco.com>
Cc:        "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org>
Subject:   Re: Iosnoop.d error
Message-ID:  <CAOtMX2ipXNhZk6U61ASHr83m4g3Rk1iBP3L4GzC=xM0eUao=1w@mail.gmail.com>
In-Reply-To: <22AA3640-EA8D-4234-A2F7-E530DA29AC9E@cisco.com>
References:  <8E683FF3-0E0B-4843-963C-25B9982A3204@cisco.com> <CAOtMX2j%2BDPEsjyu6aSmUqwyOB9xe6yR2_nL_EM2_VVQgqJwJrQ@mail.gmail.com> <22AA3640-EA8D-4234-A2F7-E530DA29AC9E@cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@cisco.com>
wrote:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2ipXNhZk6U61ASHr83m4g3Rk1iBP3L4GzC=xM0eUao=1w>