From owner-freebsd-dtrace@FreeBSD.ORG Tue Jul 29 23:19:21 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 674EACAA; Tue, 29 Jul 2014 23:19:21 +0000 (UTC) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (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 1696424C1; Tue, 29 Jul 2014 23:19:21 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id q107so518591qgd.26 for ; Tue, 29 Jul 2014 16:19:20 -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=9Nfjd+wnvcoDu+JqTpeFhvOTm0qcPgIH48QGRCovpYc=; b=TuuQiedDCneI8jLAJVUUMFgsMq55NdIN6Lnyvzo40DO7jFeX3pY3Zrp097dzvcyEZG KvfxWLqjj70vqugKtL4u6Dm67ooolWd4fkkanVIgLcEF68tpYXPRT+GbYboYvj7D5Xay BkqGUEUSdsRr8iuguKmZGlB9S7g6BriFy9GDQklhbmr+AoSa9mYwWN9IxkZqRnLxOqdx TFjP7bBvycXqhcr2xnxwwLsyx7LI7NyjWsB94UB5zoDKIr2KPXfqEmF8ZZMn9kCNO56o 4xW2sXhOV2tuc7gRrqt9XNncuBZSKF6SrqwCB/nudzTdRZxUrdPQ9XnqiB2Y4t6c81GF DZjQ== MIME-Version: 1.0 X-Received: by 10.229.171.196 with SMTP id i4mr434175qcz.15.1406675960287; Tue, 29 Jul 2014 16:19:20 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Tue, 29 Jul 2014 16:19:20 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Jul 2014 16:19:20 -0700 X-Google-Sender-Auth: gcJU-qx5zvfSQlmrLtSJxIGiYtc Message-ID: Subject: Re: dtrace pid provider on entry == segfault process From: Adrian Chadd To: Mark Johnston 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:19:21 -0000 ... whilst I'm here, is this supposed to work? [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); }