By ejo on Aug 13, 2004
As promised, an ugly perl script that can be used to generate a custom DTrace script which will generate an instruction trace.
trogdor:utrace -> ls hello\* hello.c utrace.pl\* utrace.txt\* trogdor:utrace -> utrace.pl -i hello trogdor:utrace -> sudo dtrace -Cs hello.t -c hello ...
The perl script is no where near "feature complete", nor is it an example of good perl programming practice ( parts of it are legible ). But, say it with me, it scratched an itch :).