×

Run-time instrumentation directed sampling

  • US 9,465,716 B2
  • Filed: 03/16/2012
  • Issued: 10/11/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for implementing run-time instrumentation directed sampling, 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;

    fetching a run-time instrumentation next (RINEXT) instruction from an instruction stream, the instruction stream comprising the RINEXT instruction followed by a next sequential instruction (NSI) in program order; and

    executing the RINEXT instruction by a processor, the executing comprising;

    determining whether a current run-time instrumentation state enables setting a sample point on a sample instruction for reporting run-time instrumentation information during program execution;

    based on the current run-time instrumentation state enabling setting the sample point, interpreting the next sequential instruction as an NSI sample instruction for causing a run-time instrumentation event as a trigger to record the run-time instrumentation information comprising data that led up to the NSI sample instruction into a run-time instrumentation program buffer; and

    based on executing the NSI sample instruction, causing the run-time instrumentation event to record the run-time instrumentation information into the run-time instrumentation program buffer as a reporting group.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×