[dtrace-discuss] USDT probes

2010-08-10 Thread Rui Paulo
Hi, I'm posting a question hoping someone will know the answer off hand thereby reducing my search time. :-) With USDT probes, the tracepoint is only installed by libdtrace itself, never by the drti ioctl. So whenever I run a program with an USDT probe, no tracepoint is installed. Only after I

Re: [dtrace-discuss] USDT probes

2010-08-10 Thread Adam Leventhal
Hey Rui, There are two relocations that take place. The provider.o file (generated by dtrace -G) contains relocations that are resolved with the final link pass occurs. We record the function offset (libdtrace) and then the linker adds in the base address of the function. The next relocation

Re: [dtrace-discuss] USDT probes

2010-08-10 Thread Rui Paulo
On 10 Aug 2010, at 19:29, Adam Leventhal wrote: Hey Rui, There are two relocations that take place. The provider.o file (generated by dtrace -G) contains relocations that are resolved with the final link pass occurs. We record the function offset (libdtrace) and then the linker adds in