Profiling under UNIX by Patching



Bibliographic Information


Profiling under UNIX is done by inserting counters into programs either before compiling, during compiling, or during assembly. A fourth type of profiling involves monitoring the execution of a program, and gathering relevant statistics during the run. This paper looks at this method and an implementation of it, and discusses its advantages and disadvantages.


This is the pre-peer reviewed version of the following article: M. Bishop, “Profiling under UNIX by Patching,” Software—Practice and Experience 17(10) pp. 729–740 (Oct. 1987), which has been published in final form at the journal web site.