From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 22:48:17 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8F5A1065670 for ; Mon, 18 Oct 2010 22:48:16 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2038FC14 for ; Mon, 18 Oct 2010 22:48:16 +0000 (UTC) Received: by iwn36 with SMTP id 36so196743iwn.13 for ; Mon, 18 Oct 2010 15:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=bOZUtidEzkDn6hSd9EnuL4o5/DAaxSXNlcTyQvrfdk4=; b=PY4pkGgfAAbjACCdDqGgIT5Guxz5Hj3gmChXjh7TYBOIXhFesEkc5Q3hVvxEULH/05 vF3ItDfLwko2xioYjl/F5zFY1WRUAphBq4rz8FYEsa8veNAbpfTdF+ZwgC7yMVsTMon2 MAyJhsDXGFR+ob2SgEHyo/5LtjfJziljFOKmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=u8B1zJIr5WNhXiHuNDxD2oErZi+kEHh/Y0uafRSsdF3VAyYkm9kg6IsLvtIgdz6mqF sPoinLyif5gzEYGfkXdwH8IklDh/x/dTjJyO9OcVf++4Pyyc5UADWxSWN65LzrehTIap 5s06DvUBBzK9rHU3f2OXGRX/MU5hbTuPlEuqk= MIME-Version: 1.0 Received: by 10.231.33.4 with SMTP id f4mr3711316ibd.197.1287442095496; Mon, 18 Oct 2010 15:48:15 -0700 (PDT) Sender: yanegomi@gmail.com Received: by 10.231.184.3 with HTTP; Mon, 18 Oct 2010 15:48:15 -0700 (PDT) In-Reply-To: References: <7EC03A5E-61DA-46AB-95E1-1D844E10C735@FreeBSD.org> Date: Mon, 18 Oct 2010 15:48:15 -0700 X-Google-Sender-Auth: kk65RMR58h15PfOOhI3S2Ds7ZNk Message-ID: From: Garrett Cooper To: =?ISO-8859-1?B?SXN0duFu?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current , Rui Paulo Subject: Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 22:48:17 -0000 On Mon, Oct 18, 2010 at 2:48 PM, Istv=E1n wrote: > I perfectly understand what you are saying and I have been DTracing on > Solaris many times. > > Only problem here is that you don't get my point, but I try to explain it= on > the level you can get it. > > > [root@freebsd9 /usr/ports/databases/postgresql90-server]# grep -iA3 > WITH_DTRACE Makefile > . =A0if defined(WITH_DTRACE) > CONFIGURE_ARGS+=3D--enable-dtrace > LDFLAGS+=3D-lelf > . =A0endif > > [root@freebsd9 /usr/ports/databases/postgresql90-server]# grep -i dtrace > /var/db/ports/postgresql90/options > WITH_DTRACE=3Dtrue > > [root@freebsd9 /usr/ports/databases/postgresql90-server]# make install cl= ean > > > What other dependency might cause the lack of DTrace bindings for > postgres90-server? > > > If you don't get my point at this stage then we don't have anything to ta= lk > about, and I don't understand how can the FreeBSD project use a tool like > you. :) > > > Hope I make it clear what is not working and what must work. > > I. > > > > > > On Mon, Oct 18, 2010 at 10:40 PM, Rui Paulo wrote: > >> >> On 18 Oct 2010, at 22:37, Istv=E1n wrote: >> >> > So there is no out of the box solution for FreeBSD to use DTrace for a= ny >> userland app. >> >> What have I been saying ? Userland DTrace support works on FreeBSD 9.0, = but >> I don't think you understand what userland DTrace support requires. For >> PostgreSQL and Ruby you need to re-compile the software with DTrace supp= ort >> enabled. This is the same on Solaris. >> >> > >> > Is there somebody in the FreeBSD team actively working on this? >> > >> > >> > I. >> > >> > >> > On Mon, Oct 18, 2010 at 10:33 PM, Rui Paulo wrote= : >> > >> > On 18 Oct 2010, at 22:30, Istv=E1n wrote: >> > >> > > what should I do with the Makefile exactly? I can't see any dtrace >> related information in it. >> > >> > Each software package has it's way of enabling DTrace during the build= . >> Check the postgres90-server port for an example on how to add DTrace sup= port >> to a port. 1. I'd do clean install, not install clean to start from a consistent s= tate. 2. What do the autoconf logs say about dtrace support being enabled (make clean configure will provide that data with the least number of cycles spent)? Thanks, -Garrett