Abstract: The invention relates to determining the status of run-time-instrumentation controls. The status is determined by executing a test run-time-instrumentation controls (TRIC) instruction. The TRIC instruction is executed in either a supervisor state or a lesser-privileged state. The TRIC instruction determines whether the run-time-instrumentation controls have changed. The run-time-instrumentation controls are set to an initial value using a privileged load run-time-instrumentation controls (LRIC) instruction. The TRIC instruction is fetched and executed. If the TRIC instruction is enabled, then it is determined if the initial value set by the run-time-instrumentation controls has been changed. If the initial value set by the run-time-instrumentation controls has been changed, then a condition code is set to a first value.
Type:
Grant
Filed:
March 11, 2013
Date of Patent:
February 2, 2016
Assignee:
International Business Machinecs Corporation
Inventors:
Mark S. Farrell, Charles W. Gainey, Jr., Chung-Lung K. Shum, Brian L. Smith