From owner-freebsd-dtrace@FreeBSD.ORG Thu Jul 31 17:12:14 2014 Return-Path: Delivered-To: dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7ECB793; Thu, 31 Jul 2014 17:12:14 +0000 (UTC) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (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 956162BBF; Thu, 31 Jul 2014 17:12:14 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hq11so4668592vcb.24 for ; Thu, 31 Jul 2014 10:12:13 -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=Siw0+h0LgUPzl7PPZUav2d+nOksRjNh4btejeZc9x80=; b=ZE4j3RQtVBCrMXK5jdZ3D5cnEGI6l00ZVEfeZdy+1jjo20XjnBfwkI/ye1R7GP7GmN cgfoJP43DZatfAE7PVf0IURpM6jjm61MqCw4TBG4hU+/T1mpZDZaqxeSc6+GHcWGSkUm BSOXe3kCbm151xLlW14ivhhjucgpW0yXOGWLpjj+OmMI5j6hHTvIWknkacfQWEw07aa3 0I+p2myoDrgSKyXPzqLrerE493GXImU/xLtzm2m6BA/Yc1Xy7A/E7zLTcCypEUfwH0hi 0LrLWCwTidwk7DrbM4yk0vDydMsNww/AmkOU2QHow3Vyt1Nm6YtGmyGNXyO3AGEFjRNy RThg== MIME-Version: 1.0 X-Received: by 10.52.137.51 with SMTP id qf19mr2251318vdb.97.1406826732450; Thu, 31 Jul 2014 10:12:12 -0700 (PDT) Sender: markjdb@gmail.com Received: by 10.221.31.137 with HTTP; Thu, 31 Jul 2014 10:12:12 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 Jul 2014 13:12:12 -0400 X-Google-Sender-Auth: wIJXvAoQ4QyL7pceF6H4udKVFk0 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: Thu, 31 Jul 2014 17:12:15 -0000 On Tue, Jul 29, 2014 at 7:10 PM, Adrian Chadd wrote: > Ugh, that sent too quickly. > > Let me clarify: > > [root@darkwatch] /data/blockd# cat test2.d > > pid$target:libc*:memcpy:entry > { > @[execname] = quantize(arg2); > } > > this doesn't work right (it doesn't count events at all) and it has a > 100% chance of SIGSEGV'ing the monitored process when you finish > sampling (via ctrl-C.) All the relevant changes should be available in stable/10 now. Could you please update and give it another try? Thanks, -Mark