From owner-freebsd-dtrace@freebsd.org Wed Feb 12 20:49:21 2020 Return-Path: Delivered-To: freebsd-dtrace@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 371E2243218 for ; Wed, 12 Feb 2020 20:49:21 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HsFX1HvYz40Lk for ; Wed, 12 Feb 2020 20:49:20 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-f182.google.com with SMTP id z2so3439888oih.6 for ; Wed, 12 Feb 2020 12:49:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FpWQziXLD00KMER/yQiEOP2gRTnebI68SZvrHK84aWo=; b=qi3tlhVc2hflLvbRpKiP8NXb+BS8VFYAMNtYLqsLYHi7oMjC2BbCweNMuBfJSuJZP7 KBcOYaA3pY2Wr8xkW/zQBp+5iTgZzhVE0nwxk34FsOVxU1W4agVws+z4LVsF4GPotvK+ Dsnwn/rVtIAOoQBVYi6jkGYn7a/FMsVXcOqWYY3tJBsiOViGKfh3mlEVcJjp68I8dT2l 738VsdbgOqhdvhihZRSHUjIsQE8U8+8WdF3304zYxvnSN5jgWH+B/Vk8j6OaXj+AZE+4 vCLJpqXCP5UtHmM975anpxZ6SP20qbCINgSXMPfKRhI05lqcp4M8fsYkmvzXcIxhAL6r Kc3w== X-Gm-Message-State: APjAAAW5ubc/C4EChqpQzD9An/dqLQ/aj5dJoHqpRKaFwlo70Vyx7xXB GA3RNlJjzxNLUlTL5JQ2rOLCqorcBjZJRpIgj/s= X-Google-Smtp-Source: APXvYqxmcjuVxRiZyjR8X4INrbwnlcYoc5JsJQROmf/pAWtAEyzUCNrdDM2KzgmbcQLaxvHsaS34+4/heP99mASmaBI= X-Received: by 2002:aca:c256:: with SMTP id s83mr677602oif.57.1581540558905; Wed, 12 Feb 2020 12:49:18 -0800 (PST) MIME-Version: 1.0 References: <8E683FF3-0E0B-4843-963C-25B9982A3204@cisco.com> <22AA3640-EA8D-4234-A2F7-E530DA29AC9E@cisco.com> In-Reply-To: <22AA3640-EA8D-4234-A2F7-E530DA29AC9E@cisco.com> From: Alan Somers Date: Wed, 12 Feb 2020 13:49:07 -0700 Message-ID: Subject: Re: Iosnoop.d error To: "Arun Varghese (arvarghe)" Cc: "freebsd-dtrace@freebsd.org" X-Rspamd-Queue-Id: 48HsFX1HvYz40Lk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.167.182 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-2.02 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-dtrace@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; URI_COUNT_ODD(1.00)[3]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[182.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.02)[ip: (-0.33), ipnet: 209.85.128.0/17(-3.01), asn: 15169(-1.70), country: US(-0.05)]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[182.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2020 20:49:21 -0000 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) wrote: > =EF=BB=BFThanks 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 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: 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" > >