Embodiments of the invention relate to implementing run-time instrumentation directed sampling. An aspect of the invention includes a method for implementing run-time instrumentation directed sampling. The method includes fetching a run-time instrumentation next (RINEXT) instruction from an instruction stream. The instruction stream includes the RINEXT instruction followed by a next sequential instruction (NSI) in program order. The method further includes executing the RINEXT instruction by a processor. The executing includes determining whether a current run-time instrumentation state enables setting a sample point for reporting run-time instrumentation information during program execution. Based on the current run-time instrumentation state enabling setting the sample point, the NSI is a sample instruction for causing a run-time instrumentation event. Based on executing the NSI sample instruction, the run-time instrumentation event causes recording of run-time instrumentation information into a run-time instrumentation program buffer as a reporting group.
申请公布号
WO2013136705(A1)
申请公布日期
2013.09.19
申请号
WO2013JP01267
申请日期
2013.03.01
申请人
INTERNATIONAL BUSINESS MACHINES CORPORATION;IBM JAPAN, LTD.
发明人
GAINEY JR., CHARLES W.;MITRAN, MARCEL;SHUM, CHUNG-LUNG KEVIN;STOODLEY, KEVIN A.