From owner-freebsd-dtrace@FreeBSD.ORG Tue Jul 29 23:23:43 2014 Return-Path: Delivered-To: dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F35DE30; Tue, 29 Jul 2014 23:23:43 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC1312572; Tue, 29 Jul 2014 23:23:42 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id hy10so649261vcb.32 for ; Tue, 29 Jul 2014 16:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jMq8aUUBcbsgnW4vcImg9Al0bVO1oPQo4AHA1ZBU8ko=; b=SrAQGyLKN6Y8yZd+d5ig+uCP0LWpGloG/WnZCjuLKowCSjZIeuca3lVteZSlRZRBt2 LPRw0kQ9CZrD+lbfirhfPaz+Ua0PR5ZOOCc60b+2pwDl8UfczJnN8wUm5eEH3tVRiBWT rcDAFDHbkmu+28IvHAWdWOR5YxbK/zkf/iX1pUd6W5fwuV/1TMPVCrRF2hO9Z266TYd0 ns0lTovzwFmqmj1jZCWqBqHgnp7DOO6pqnXu1s2kW+gY/kxjzL5cvXfVOzuDQXczV/Hk VzqNh310LSHIk7SZwPIF7wiVg3LaPT4wt1rNaC403JfbJF0rXsbr/qHOZauqFxTV0tbO 2wlA== MIME-Version: 1.0 X-Received: by 10.52.9.68 with SMTP id x4mr4373011vda.20.1406676222069; Tue, 29 Jul 2014 16:23:42 -0700 (PDT) Sender: markjdb@gmail.com Received: by 10.221.31.137 with HTTP; Tue, 29 Jul 2014 16:23:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Jul 2014 19:23:42 -0400 X-Google-Sender-Auth: 9i9n57cXL7U4xk8DMJ6M2HpZrAU Message-ID: Subject: Re: dtrace pid provider on entry == segfault process From: Mark Johnston To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: "dtrace@freebsd.org" X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 29 Jul 2014 23:23:43 -0000 On Tue, Jul 29, 2014 at 7:19 PM, Adrian Chadd wrote: > ... whilst I'm here, is this supposed to work? It might not crash, but I wouldn't expect it to work properly (on amd64 at least) without the change I mentioned. > > [root@darkwatch] /data/blockd# dtrace -s test2.d -p 28686 > > dtrace: script 'test2.d' matched 1 probe > > ^C > > > blockd > > value ------------- Distribution ------------- count > > -1 | 0 > > 0 | 4676 > > 1 |@ 23715 > > 2 | 7642 > > 4 | 9457 > > 8 |@ 32601 > > 16 | 17893 > > 32 | 8685 > > 64 | 1102 > > 128 | 1315 > > 256 | 0 > > 512 | 0 > > 1024 | 0 > > 2048 | 0 > > 4096 | 0 > > 8192 | 0 > > 16384 | 0 > > 32768 | 0 > > 65536 | 0 > > 131072 | 0 > > 262144 | 0 > > 524288 | 0 > > 1048576 | 0 > > 2097152 | 0 > > 4194304 | 0 > > 8388608 | 0 > > 16777216 | 0 > > 33554432 | 0 > > 67108864 | 0 > > 134217728 | 0 > > 268435456 | 0 > > 536870912 | 0 > > 1073741824 | 0 > > 2147483648 | 0 > > 4294967296 | 0 > > 8589934592 | 0 > > 17179869184 | 0 > > 34359738368 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1335242 > > 68719476736 | 0 > > 137438953472 | 0 > > 274877906944 | 0 > > 549755813888 | 0 > > 1099511627776 | 0 > > 2199023255552 | 0 > > 4398046511104 | 0 > > 8796093022208 | 0 > > 17592186044416 | 0 > > 35184372088832 | 0 > > 70368744177664 | 2630 > > 140737488355328 | 0 > > > [root@darkwatch] /data/blockd# cat test2.d > > pid$target:libc*:memcpy:return > > { > > @[execname] = quantize(arg2); > > }