Date: Mon, 18 Oct 2010 22:48:58 +0100 From: =?UTF-8?Q?Istv=C3=A1n?= <leccine@gmail.com> To: Rui Paulo <rpaulo@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps Message-ID: <AANLkTikZCUbwPF-grkAWQLVSL%2Bnm_NDBP%2B6ZLyYBNZxs@mail.gmail.com> In-Reply-To: <FA2F29D4-F8E8-41A6-A471-DFE36C677B0D@freebsd.org> References: <AANLkTi=BTfcPYtO7Hby3dK7C7qiH2CXdThYyV9QBj8_T@mail.gmail.com> <DE0D21FF-0E8F-4993-87B0-69B7AA74861C@FreeBSD.org> <AANLkTins6w0znaw%2BvQ7M57cSXS1OK6aQ0KUyJMjD-ytq@mail.gmail.com> <7EC03A5E-61DA-46AB-95E1-1D844E10C735@FreeBSD.org> <AANLkTingZ1uQiC3TYaJtgQFG_m1HOAsOdCtRx4Aizj_i@mail.gmail.com> <D4CE1F20-02ED-4267-95D2-0199AEFA7C43@freebsd.org> <AANLkTinvBDQt-4Pk-GN3P1Wa20UTbr7OJaXiQeSD375u@mail.gmail.com> <FA2F29D4-F8E8-41A6-A471-DFE36C677B0D@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 o= n the level you can get it. [root@freebsd9 /usr/ports/databases/postgresql90-server]# grep -iA3 WITH_DTRACE Makefile . if defined(WITH_DTRACE) CONFIGURE_ARGS+=3D--enable-dtrace LDFLAGS+=3D-lelf . endif [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 clea= n 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 talk 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 <rpaulo@freebsd.org> wrote: > > On 18 Oct 2010, at 22:37, Istv=C3=A1n wrote: > > > So there is no out of the box solution for FreeBSD to use DTrace for an= y > userland app. > > What have I been saying ? Userland DTrace support works on FreeBSD 9.0, b= ut > I don't think you understand what userland DTrace support requires. For > PostgreSQL and Ruby you need to re-compile the software with DTrace suppo= rt > 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 <rpaulo@freebsd.org> wrote: > > > > On 18 Oct 2010, at 22:30, Istv=C3=A1n 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 supp= ort > to a port. > > > > Regards, > > -- > > Rui Paulo > > > > > > > > > > > > -- > > the sun shines for all > > > > http://blog.l1x.me > > Use the link below to report this message as spam. > > https://lavabit.com/apps/teacher?sig=3D1414423&key=3D2849872830 > > Regards, > -- > Rui Paulo > > > --=20 the sun shines for all http://blog.l1x.me
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikZCUbwPF-grkAWQLVSL%2Bnm_NDBP%2B6ZLyYBNZxs>