Controlling operation of a run-time instrumentation facility from a lesser-privileged state
摘要
Embodiments of the invention relate to enabling and disabling execution of a run-time instrumentation facility. An instruction for execution by the processor in a lesser privileged state is fetched by the processor. It is determined, by the processor, that the run-time instrumentation facility permits execution of the instruction in the lesser-privileged state and that controls associated with the run-time instrumentation facility are valid. The run-time instrumentation facility is disabled based on the instruction being a run-time instrumentation facility off (RIOFF) instruction. The disabling includes updating a bit in a program status word (PSW) of the processor to indicate that run-time instrumentation data should not be captured by the processor. The run-time instrumentation facility is enabled based on the instruction being a run-time instrumentation facility on (RION) instruction. The enabling includes updating the bit in the PSW to indicate that run-time instrumentation data should be captured by the processor.
申请公布号
AU2013233830(B2)
申请公布日期
2016.06.23
申请号
AU20130233830
申请日期
2013.03.01
申请人
INTERNATIONAL BUSINESS MACHINES CORPORATION
发明人
FARRELL, MARK S.;GAINEY JR., CHARLES W.;MITRAN, MARCEL;SHUM, CHUNG-LUNG KEVIN;SLEGEL, TIMOTHY J.;SMITH, BRIAN LEONARD;STOODLEY, KEVIN A.