Tracing a calltree of a specified root method
Abstract
A specification of a routine name of a root of a call tree and a specification of a desired depth of call tree tracing are obtained. Upon entering a given routine in a program, a determination is made whether the given routine is the root. Responsive to determining that the given one of the routines is the root, trace information for the routine forming the root is output. Furthermore, upon entering a given one of the routines called, directly or indirectly, by the routine forming the root, a determination is made whether the given one of the routines called, directly or indirectly, by the routine forming the root of the call tree is within the desired depth from the routine forming the root of the call tree; and if this is the case, trace information is output for given one of the routines called, directly or indirectly, by the routine forming the root of the call tree.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for call tree tracing in a program having a plurality of routines, the method comprising the steps of: obtaining a specification of a routine name for one of the routines forming a root of the call tree; obtaining a specification of a desired depth of the call tree tracing; upon entering a given one of the routines, determining whether the given one of the routines is the routine forming the root of the call tree; and responsive to determining that the given one of the routines is the routine forming the root of the call tree: outputting trace information for the routine forming the r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- Apple Inc., Instruments User Guide, Tools>Performance, pp. 43-61, Feb. 2008.
- Arnold et al., Collecting and Exploiting High-Accuracy Call Graph Profiles in Virtual Machines, Mar. 2005, 12 pages, .
- Arnold et al., Collecting and Exploiting High-Accuracy Call Graph Profiles in Virtual Machines, Mar. 2005, 12 pages, <http://delivery.acm.org/10.1145/1050000/1048975/22980051.pdf>.
- Calvin Austin, An Introduction to Java Stack Traces, http://java.sun.com/developer/technicaArticles/Programming/Stacktrace/, pp. 1-5, Jul. 1998.
- Graham et al., gprof: a call graph execution profiler, Apr. 2004, 9 pages, .