×

Determining the status of run-time-instrumentation controls

  • US 9,250,902 B2
  • Filed: 03/16/2012
  • Issued: 02/02/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for executing a test run-time-instrumentation controls (TRIC) instruction, the TRIC instruction executable in either a supervisor state or a lesser-privileged state, the TRIC instruction for determining whether run-time-instrumentation controls have changed, the computer program product comprising:

  • a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;

    setting a set of run-time-instrumentation controls to an initial value using a privileged load run-time-instrumentation controls (LRIC) instruction;

    fetching the TRIC instruction;

    executing the TRIC instruction, the executing comprising;

    determining whether the TRIC instruction is enabled;

    based on determining that the TRIC instruction is enabled, determining whether the initial value set by the run-time-instrumentation controls has been changed;

    based on determining that the initial value set by the run-time-instrumentation controls has been changed, setting a condition code to a first value; and

    based on determining that the TRIC instruction is not-enabled, setting the condition code to a second value, the second value indicating execution of the TRIC instruction in a problem state is not permitted.

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