Hardware based run-time instrumentation facility for managed run-times
First Claim
1. A computer program product for performing run-time instrumentation, the computer program product comprising:
- a tangible non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
capturing, by a processor, run-time instrumentation data based on an instruction stream of instructions of an application program executing on the processor in one of a supervisor mode and a user mode, the capturing comprising storing the run-time instrumentation data in a collection buffer of the processor that is accessible by the application program when the application program is executing in a supervisor mode and not accessible by the application program when the application program is executing in a user mode;
detecting, by the processor, a run-time instrumentation sample point trigger; and
copying contents of the collection buffer into a program buffer as a reporting group based on the detecting the run-time instrumentation sample point trigger, the program buffer located in main storage in an address space that is accessible by the application program.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention relate to performing run-time instrumentation. Run-time instrumentation is captured, by a processor, based on an instruction stream of instructions of an application program executing on the processor. The capturing includes storing the run-time instrumentation data in a collection buffer of the processor. A run-time instrumentation sample point trigger is detected by the processor. Contents of the collection buffer are copied into a program buffer as a reporting group based on detecting the run-time instrumentation sample point trigger. The program buffer is located in main storage in an address space that is accessible by the application program.
134 Citations
11 Claims
-
1. A computer program product for performing run-time instrumentation, the computer program product comprising:
-
a tangible non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; capturing, by a processor, run-time instrumentation data based on an instruction stream of instructions of an application program executing on the processor in one of a supervisor mode and a user mode, the capturing comprising storing the run-time instrumentation data in a collection buffer of the processor that is accessible by the application program when the application program is executing in a supervisor mode and not accessible by the application program when the application program is executing in a user mode; detecting, by the processor, a run-time instrumentation sample point trigger; and copying contents of the collection buffer into a program buffer as a reporting group based on the detecting the run-time instrumentation sample point trigger, the program buffer located in main storage in an address space that is accessible by the application program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for performing run-time instrumentation, the system comprising:
-
a processor, the system configured to perform a method comprising; capturing, by the processor, run-time instrumentation data based on an instruction stream of instructions of an application program executing on the processor in one of a supervisor mode and a user mode, the capturing comprising storing the run-time instrumentation data in a collection buffer of the processor that is accessible by the application program when the application program is executing in a supervisor mode and not accessible by the application program when the application program is executing in a user mode; detecting, by the processor, a run-time instrumentation sample point trigger; and copying contents of the collection buffer into a program buffer as a reporting group based on the detecting the run-time instrumentation sample point trigger, the program buffer located in main storage in an address space that is accessible by the application program. - View Dependent Claims (11)
-
Specification