This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: static user probes
Stan Cox wrote:
Roland McGrath wrote:
Is this really how you have to do it? This interposes dtrace into the
build process for each relocatable file. I would have expected just one
post-processing step on the final executable.
That is the process described at:
http://docs.sun.com/app/docs/doc/817-6223/6mlkidls5?l=en&a=view
It modifies the call to the probes in the object files, leaving space
for reinsertion. hello.gcc.o is from 'gcc hello.c' and
hello.dtrace.o/helloprobes.o are from 'dtrace -G -s helloprobes.d hello.o'