static user probes

Roland McGrath roland@redhat.com
Thu Oct 2 21:43:00 GMT 2008


> hello: helloprobes.o hello.o
>          $(CC) -o hello helloprobes.o hello.o
> helloprobes.o: hello.o
>          $(DTRACE) -G -s helloprobes.d hello.o
>          dis hello.o > hello.2.dis

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.


Thanks,
Roland



More information about the Systemtap mailing list