Program profiling problems, and a solution via machine language rewriting
- 1 January 1994
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 29 (1) , 37-45
- https://doi.org/10.1145/181577.181583
Abstract
The executable binary image of a program can be mechanically rewritten to produce a second program that collects execution statistics as a side effect, while executing the same routines and producing the same primary outputs as the original program. We describe a general technique and present our experiences with several alternate profiling mechanisms. The challenges of presenting the profile information in easily-used. understandable ways are also discussed.Keywords
This publication has 5 references indexed in Scilit:
- Abstract execution: A technique for efficiently tracing programsSoftware: Practice and Experience, 1990
- Inaccuracies in program profilersSoftware: Practice and Experience, 1988
- Profiling under UNIX by patchingSoftware: Practice and Experience, 1987
- GprofACM SIGPLAN Notices, 1982
- Extendible hashing—a fast access method for dynamic filesACM Transactions on Database Systems, 1979