发明名称 |
Hardware based run-time instrumentation facility for managed run-times |
摘要 |
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. |
申请公布号 |
US9483269(B2) |
申请公布日期 |
2016.11.01 |
申请号 |
US201313785089 |
申请日期 |
2013.03.05 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Mitran Marcel;Shum Chung-Lung K.;Stoodley Kevin A. |
分类号 |
G06F9/30;G06F11/36 |
主分类号 |
G06F9/30 |
代理机构 |
Cantor Colburn LLP |
代理人 |
Cantor Colburn LLP ;Kinnaman, Jr. William A. |
主权项 |
1. A computer implemented method for performing run-time instrumentation, the 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. |
地址 |
Armonk NY US |