×

Run-time-instrumentation controls emit instruction

  • US 9,430,238 B2
  • Filed: 03/16/2012
  • Issued: 08/30/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for executing a run-time-instrumentation controls emit (RIEMIT) instruction, the RIEMIT instruction executable in either a supervisor state or a lesser-privileged state, 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;

    configuring a processor to capture run-time-instrumentation information of a stream of instructions in a computer program, the configuring including accessing program status word (PSW) associated with the computer program to update a bit in the PSW to indicate that run-time instrumentation data should be captured by the processor, the stream of instructions comprising the RIEMIT instruction, and the computer program is one of a plurality of computer programs for execution by the processor each having an associated PSW;

    fetching the RIEMIT instruction;

    executing, by the processor, the RIEMIT instruction, the executing comprising;

    determining that current run-time-instrumentation controls are configured to permit capturing of run-time-instrumentation information for storing run-time-instrumentation records in a run-time-instrumentation program buffer; and

    storing an RIEMIT instruction specified value as an emit record of a reporting group in the run-time-instrumentation program buffer.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×