US 6,983,453 B2 | ||
Method and system for obtaining performance data from software compiled with or without trace hooks | ||
Gerald B. Strait, Salt Point, N.Y. (US); Barry M. Goldberg, Ossining, N.Y. (US); Daniel S. Gritter, Poughkeepsie, N.Y. (US); and Colette A. Manoni, Brewster, N.Y. (US) | ||
Assigned to International Business Machines Corporation, Armonk, N.Y. (US) | ||
Filed on Aug. 30, 2001, as Appl. No. 9/943,213. | ||
Prior Publication US 2003/0046667 A1, Mar. 06, 2003 | ||
Int. Cl. G06F 9/44 (2006.01) |
U.S. Cl. 717—128 | 13 Claims |
1. A method for obtaining software performance data, said method comprising:
entering a software application;
setting a trace data flag to off;
while said software application has not exited, iteratively performing the following steps for each module initiated by said
software application:
setting said trace data flag to on if said module is registered with a performance analyzer tool;
determining if said module includes trace data hooks;
if said module includes said trace data hooks and said trace data flag is on:
transmitting a request to said performance analyzer tool to record trace data in response to encountering an embedded trace
data hook in said module; and
if said module does not include said trace data hooks and said trace data flag is on:
transmitting a request to said performance analyzer tool to record trace data in response to entry and exit of said module;
and
receiving from said performance analyzer tool a report based on said trace data.
|