×

Transformation of a program-event-recording event into a run-time instrumentation event

  • US 9,400,736 B2
  • Filed: 03/05/2013
  • Issued: 07/26/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for transforming a program-event-recording event into a run-time instrumentation event, the method comprising:

  • configuring a run-time-instrumentation control based on executing a load run-time instrumentation controls (LRIC) instruction, the LRIC instruction enabling run-time instrumentation program-event-recording (PER) controls;

    setting a K-bit based on executing the LRIC instruction to grant permission for execution of a modify run-time instrumentation controls (MRIC) instruction to configure run-time instrumentation control values from a lower-privileged program;

    setting a PK-bit based on executing the LRIC instruction to grant permission for execution of the MRIC instruction to configure PER control registers from the lower-privileged program when the run-time instrumentation PER controls are enabled and the K-bit is set;

    enabling run-time instrumentation for collecting instrumentation information of an instruction stream executing on a processor;

    detecting, by the processor, a PER event, the PER event associated with the instruction stream executing on the processor; and

    writing a PER event record to a collection buffer as a run-time instrumentation event based on detecting the PER event, the PER event record identifying the PER event.

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