Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-19 Thread István
On Tue, Oct 19, 2010 at 10:33 AM, Rui Paulo wrote: > > On 19 Oct 2010, at 10:15, István wrote: > > > wow, you go the point after couple of emails. better later than never, > huh :) > > You sure are an amusing guy. Rude, but amusing :-) > > thanks! > > > > you think adding pgsql to wheel might h

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-19 Thread István
wow, you go the point after couple of emails. better later than never, huh :) you think adding pgsql to wheel might help? cc freebsd-security@ and see their opinion about the topic. i modified the permission of /dev/dtrace/helper instead but it gives the following error still: dtrace DOF postgre

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-19 Thread Robert Watson
On Tue, 19 Oct 2010, Rui Paulo wrote: you think adding pgsql to wheel might help? cc freebsd-security@ and see their opinion about the topic. dof needs to inject the probes in /dev/dtrace/helper, so the user needs rw access to the /dev/dtrace/helper. I specifically added write access to the

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-19 Thread Rui Paulo
On 19 Oct 2010, at 10:15, István wrote: > wow, you go the point after couple of emails. better later than never, huh :) You sure are an amusing guy. Rude, but amusing :-) > > you think adding pgsql to wheel might help? cc freebsd-security@ and see > their opinion about the topic. dof needs t

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-19 Thread Rui Paulo
cd /usr/ports/*/postgres90-server make clean export DTRACE_DEBUG=1 make install Check what dtrace is doing. BTW have you added postgres to the wheel group? Regards, -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/ma

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread István
Hey Garrett, thanks for coming back to me. 1. I had make clean before I did make install clean. 2. $ ./configure --with-libraries=/usr/local/lib --with-includes=/usr/local/include --enable-thread-safety --with-openssl --enable-dtrace --with-pam --enable-nls --prefix=/usr/local --mandir=/usr/lo

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread Garrett Cooper
On Mon, Oct 18, 2010 at 2:48 PM, István 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. > > > [r...@freebsd9 /usr/ports/databases/postg

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread István
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. [r...@freebsd9 /usr/ports/databases/postgresql90-server]# grep -iA3 WITH_DTRACE Makefile . if defined

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread István
So there is no out of the box solution for FreeBSD to use DTrace for any userland app. 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án wrote: > > > what should I do with the Makefile ex

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread Rui Paulo
On 18 Oct 2010, at 22:37, István wrote: > So there is no out of the box solution for FreeBSD to use DTrace for any > 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

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread István
what should I do with the Makefile exactly? I can't see any dtrace related information in it. I. > > > > Do you know why Ruby has no dtrace bindings on Freebsd? > > You need to change the port Makefile to enable DTrace. > > > ___ freebsd-current@freebs

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread Rui Paulo
On 18 Oct 2010, at 22:30, István 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 support to a p

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread Rui Paulo
On 18 Oct 2010, at 21:12, István wrote: > Hey, > > how come it doesn't work? > > What are the necessary requirements for using dtrace on freebsd? Do you need > a library or something? It involves creating a DTrace provider and compiling it during the build phase. Please read: http://dtrace.o

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread István
Hey, how come it doesn't work? What are the necessary requirements for using dtrace on freebsd? Do you need a library or something? Do you know why Ruby has no dtrace bindings on Freebsd? Thank you. Istvan On Mon, Oct 18, 2010 at 7:45 PM, Rui Paulo wrote: > > On 12 Oct 2010, at 23:40, Ist

Re: DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-18 Thread Rui Paulo
On 12 Oct 2010, at 23:40, István wrote: > Hey, > > > I am not 100% sure this is the right list to approach with this problem but > let's try this one. > > So I am trying to use dtrace on the previously mentioned system, I followed > the usual kernel rebuild process using the following wiki: >

DTrace bindings are missing in FreeBSD 9.0 - CURRENT for userland apps

2010-10-17 Thread István
Hey, I am not 100% sure this is the right list to approach with this problem but let's try this one. So I am trying to use dtrace on the previously mentioned system, I followed the usual kernel rebuild process using the following wiki: http://wiki.freebsd.org/DTrace Dtrace works fine and I am