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 > the base address of the function. The next relocation takes place when we > ioctl(2) the DOF to the kernel. There, we provide the base address of the > object. > > tracepoint address = base address of object + function offset + offset into > function > drti.o ld(1) dtrace -G / > libdtrace
Oh, apparently there was a problem with the base address of object. I'll try again. Thanks, -- Rui Paulo _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org