From owner-freebsd-dtrace@freebsd.org Thu Sep 3 17:20:49 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 713869CAB64 for ; Thu, 3 Sep 2015 17:20:49 +0000 (UTC) (envelope-from alex.burlyga.ietf@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31BD6864 for ; Thu, 3 Sep 2015 17:20:49 +0000 (UTC) (envelope-from alex.burlyga.ietf@gmail.com) Received: by vkaw128 with SMTP id w128so28356170vka.2 for ; Thu, 03 Sep 2015 10:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NVht3Ar4ZGc5k3We+BoxFDESiAN6vvhmWn7mV81tkVI=; b=wqP8eqt4XHx4VIzQvfeqAHO34zdBCEXmh6kz+MuAP/6+0qrTpXJqHEm3ChbN17mouB 1FXpedwzGF4nsrsGsyP5nGleO43tqmPLUi3ulSz3YNja62WA1ZP4FQpVNCuqAghr9Ri/ A2XtDZIyQjvJUcTz0+9/MD1923d8GHd1SMHakOANkGG1TR5NItwQ768tB6XiIm+66ixN klRsf3ETdBrnRcvrCwpcoEZaP7hb6DO7HGPcsJqAIZyqCPMpTx3JgBvvukdzyVTNNUM0 bY1XyQtkTX9rDkfW/QSmw7+AKFb21NPdj34OkLUcngDTkBN+mJi8vMS6U8cX82VfLy4J jdqA== MIME-Version: 1.0 X-Received: by 10.52.76.232 with SMTP id n8mr38174403vdw.20.1441300848207; Thu, 03 Sep 2015 10:20:48 -0700 (PDT) Received: by 10.103.5.193 with HTTP; Thu, 3 Sep 2015 10:20:48 -0700 (PDT) Date: Thu, 3 Sep 2015 10:20:48 -0700 Message-ID: Subject: Broken dtrace script in /usr/share/dtrace From: "alex.burlyga.ietf alex.burlyga.ietf" To: freebsd-dtrace@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 03 Sep 2015 17:20:49 -0000 Wanted to show off dtrace to co-workers of mine and tried running /usr/share/dtrace/nfsclienttime. I got an error and was not able to run it. Patch bellow that fixes the issue on FreeBSD 10. Alex diff --git a/share/dtrace/nfsclienttime b/share/dtrace/nfsclienttime index 335f067..e7764cf 100755 --- a/share/dtrace/nfsclienttime +++ b/share/dtrace/nfsclienttime @@ -54,13 +54,13 @@ syscall:::entry self->count = 0; } -nfsclient:nfs3::start +nfscl:nfs3::start { self->timestamp = timestamp; } -nfsclient:nfs3::done +nfscl:nfs3::done { self->count += (timestamp - self->timestamp);