发明名称 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.
申请公布号 US9111034(B2) 申请公布日期 2015.08.18
申请号 US201313778996 申请日期 2013.02.27
申请人 International Business Machines Corporation 发明人 Duale Ali Y.;Gami Shailesh R.;Venugopala Sandhya;Wittig Dennis
分类号 G06F11/00;G06F11/36 主分类号 G06F11/00
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;Chiu Steven
主权项 1. A computer program product for system-level testing of a run-time instrumentation sampling process, the computer program product comprising: a non-transitory 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