Method and apparatus for profiling processes in a data processing system background of the invention
AssigneeInternational Business Machines Corporation
InventorsFrank Eliot Levine, Robert Francis Berry, Chester Charles John, Jr, Riaz Yousuf Hussain
Life of this patent
Estimating the term…
Abstract
A method and apparatus in a data processing system for profiling code for processes executing in a data processing system. Trace data is recorded in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted. The trace data is processed to identify whether the interrupted code is interpreted code.
Claims21
A method in a data processing system for profiling code for processes executing in the data processing system, the method comprising:
- recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- processing the trace data to identify whether the interrupted code is interpreted code, and
- recording a method identification of a method being interpreted in response to an identification that the interrupted code is interpreted code.
A method in a data processing system for profiling code for processes executing in the data processing system, the method comprising:
- recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- and
- processing the trace data to identify whether the interrupted code is interpreted code,
- wherein the step of recording trace data includes recording a name of a class and an identification of methods associated with the class in response to loading of the class.
A method in a data processing system for profiling code for processes executing in the data processing system, the method comprising:
- recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- processing the trace data to identify whether the interrupted code is interpreted code;
- processing the trace data to obtain information about a current state of the data processing system;
- storing the current state of the data processing system in hash tables;
- and generating a report using the hash tables,
- wherein the processing of trace records identifies dynamic loading and unloading of code.
A data processing system for profiling code for processes executing in the data processing system, the data processing system comprising:
- first recording means for recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- processing means for processing the trace data to identify whether the interrupted code is interpreted code;
- and
- second recording means for recording a method identification of a method being interpreted in response to an identification that the interrupted code is interpreted code.
A data processing system for profiling code for processes executing in the data processing system, the data processing system comprising:
- recording means for recording trace data in response to a selected interrupt wherein the trace data includes an indication of which code is being interrupted;
- and
- processing means for processing the trace data to identify whether the interrupted code is interpreted code,
- wherein the recording means includes means for recording a name of a class and an identification of methods associated with the class in response to loading of the class.
A data processing system for profiling code for processes executing in the data processing system, the data processing system comprising:
- recording means for recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- first processing means for processing the trace data to identify whether the interrupted code is interpreted code;
- second processing means for processing the trace data to obtain information about a current state of the data processing system;
- storing means for storing the current state of the data processing system in hash tables;
- and
- generating means for generating a report using the hash tables,
- wherein the processing of trace records identifies dynamic loading and unloading of code.
A computer program product in a computer readable medium for profiling code for processes executing in a data processing system, the computer program product comprising:
- first instructions for recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- second instructions for processing the trace data to identify whether the interrupted code is interpreted code;
- and
- third instructions for recording a name of a class and an identification of methods associated with the class in response to loading of a class.
A computer program product in a computer readable medium for profiling code for processes executing in the data processing system, the method comprising:
- first instructions for recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- and
- second instructions for processing the trace data to identify whether the interrupted code is interpreted code,
- wherein the first instructions include instructions for recording a name of a class and an identification of methods associated with the class in response to loading of the class.
A computer program product in a computer readable medium for profiling code for processes executing in the data processing system, the method comprising:
- instructions for recording trace data in response to a selected interrupt, wherein the trace data includes an indication of which code is being interrupted;
- and
- instructions for processing the trace data to identify whether the interrupted code is interpreted code;
- instructions for processing the trace data to obtain information about a current state of the data processing system;
- instructions for storing the current state of the data processing system in hash tables;
- and
- instructions for generating a report using the hash tables,
- wherein the processing of trace records identifies dynamic loading and unloading of code.
Dependencies are inferred from the claim text.