发明名称 |
TESTING OF RUN-TIME INSTRUMENTATION |
摘要 |
A computer program product is provided for performing a method including: generating a test instruction stream of a program that includes a plurality of executable instructions; setting controls for a runtime-instrumentation process; simulating execution of the test instruction stream and sampling of the test instruction stream according to the controls, and storing simulated records associated with the sampling in a predicted collection buffer (PCB); accessing a program buffer of a processor, the program buffer storing records associated with sampling the test instruction stream according to the controls during execution of the test instruction stream by the processor; examining individual records in the program buffer to determine whether the individual records are valid and in proper sequence; and comparing the simulated records of the PCB and the records of the program buffer to validate the program buffer. |
申请公布号 |
US2014245074(A1) |
申请公布日期 |
2014.08.28 |
申请号 |
US201313778996 |
申请日期 |
2013.02.27 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Duale Ali Y.;Gami Shailesh R.;Venugopala Sandhya;Wittig Dennis |
分类号 |
G06F11/36 |
主分类号 |
G06F11/36 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer program product for system-level testing of a run-time instrumentation sampling process, the computer program product comprising:
a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: generating a test instruction stream of a program that includes a plurality of executable instructions; setting controls for a runtime-instrumentation process, the runtime-instrumentation process configured to sample one or more instructions as the test instruction stream is executed and store records of events corresponding to the one or more sample instructions; simulating execution of the test instruction stream and sampling of the test instruction stream according to the controls, and storing simulated records associated with the sampling in a predicted collection buffer (PCB); accessing a program buffer of a processor, the program buffer storing records associated with sampling the test instruction stream according to the controls during execution of the test instruction stream by the processor; examining individual records in the program buffer to determine whether the individual records are valid and in proper sequence; and comparing the simulated records of the PCB and the records of the program buffer to validate the program buffer. |
地址 |
Armonk NY US |