From owner-freebsd-arch@FreeBSD.ORG Fri Dec 21 17:36:01 2012 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DF3BFC4; Fri, 21 Dec 2012 17:36:01 +0000 (UTC) (envelope-from alfred@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3788FC1A; Fri, 21 Dec 2012 17:36:01 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id E92235E604; Fri, 21 Dec 2012 09:36:00 -0800 (PST) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 47429-05; Fri, 21 Dec 2012 09:36:00 -0800 (PST) Received: from Alfreds-MacBook-Pro-9.local (unknown [10.8.0.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id B44105E5FF; Fri, 21 Dec 2012 09:36:00 -0800 (PST) Message-ID: <50D49DFF.3060803@ixsystems.com> Date: Fri, 21 Dec 2012 09:35:59 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "arch@freebsd.org" , Rui Paulo Subject: making use of userland dtrace on FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 17:36:01 -0000 Hey folks, We have had userland dtrace for a while now. However it's not really hooked up into the build, nor as far as I can tell are ports nor shared libs. Dtrace can be immensely useful for tracking down hard to find bugs, memory leaks, performance problems and a lot more. What are the thoughts on making this available by default on FreeBSD going forward? What would need to happen? Supposedly we can do this by just adding "CFLAGS=-fno-omit-frame-pointer" and not completely stripping installed tools/libraries. Would it make sense to set this as default for the whole system? Just libs+ports? Or do people think that the performance gain of omit-frame-pointer (which I am unsure of) is worth the loss of debug-ability (like a certain arctic bird based OS)? I have also factored in the size of binaries into this, and I really am not sure why it would be a problem other than if we didn't offer an "easy button" to make things "small". Let's figure this out, because it seems to me that we should be offering this to our users if possible. -Alfred