×

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

  • US 9,442,824 B2
  • Filed: 03/16/2012
  • Issued: 09/13/2016
  • Est. Priority Date: 03/16/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for transforming a program-event-recording event into a run-time instrumentation event, 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;

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

    granting permission to configure run-time instrumentation control values from a lower-privileged program;

    granting permission to configure PER control registers from the lower-privileged program when the run-time instrumentation PER controls are enabled;

    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 by intercepting a PER interruption condition associated with the PER event such that the instruction stream executing on the processor is not interrupted by a PER interruption associated with the PER interruption condition to prevent removal of knowledge of the PER event from a program associated with the instruction stream; 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
    ×
    ×