A Sample-Driven Call Stack Profiler

dc.contributor.authorFowler, Rob
dc.contributor.authorFroyd, Nathan
dc.contributor.authorMellor-Crummey, John
dc.date.accessioned2017-08-02T22:03:01Z
dc.date.available2017-08-02T22:03:01Z
dc.date.issued2004-07-15
dc.date.noteJuly 15, 2004
dc.description.abstractCall graph profiling reports measurements of resource utilization along with information about the calling context in which the resources were consumed. We present the design of a novel profiler that measures resource utilization and its associated calling context using a stack sampling technique. Our scheme has a novel combination of features and mechanisms. First, it requires no compiler support or instrumentation, either of source or binary code. Second, it works on heavily optimized code and on complex, multi-module applications. Third, it uses sampling rather than tracing to build a context tree, collect histogram data, and to characterize calling patterns. Fourth, the data structures and algorithms are efficient enough to construct the complete tree exposed in the sampling process. We describe an implementation for the Alpha/Tru64 platform and present experimental measurements that compare this implementation with the standard call graph profiler provided on Tru64, hi prof. We show results from a variety of programs in several languages indicating that our profiler operates with modest overhead. Our experiments show that the profiling overhead of our technique is nearly a factor of 55 lower than that of hi prof when profiling a call-intensive recursive program.
dc.format.extent15 pp
dc.identifier.citationFowler, Rob, Froyd, Nathan and Mellor-Crummey, John. "A Sample-Driven Call Stack Profiler." (2004) https://hdl.handle.net/1911/96328.
dc.identifier.digitalTR04-437
dc.identifier.urihttps://hdl.handle.net/1911/96328
dc.language.isoeng
dc.rightsYou are granted permission for the noncommercial reproduction, distribution, display, and performance of this technical report in any format, but this permission is only for a period of forty-five (45) days from the most recent time that you verified that this technical report is still available from the Computer Science Department of Rice University under terms that include this permission. All other rights are reserved by the author(s).
dc.titleA Sample-Driven Call Stack Profiler
dc.typeTechnical report
dc.type.dcmiText
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR04-437.pdf
Size:
156.31 KB
Format:
Adobe Portable Document Format