Nova Patents
US9195461B2

Run-time instrumentation reporting

Summary by NHIP

PSW-Controlled Instrumentation Reporting

The method executes an instruction stream and captures run-time instrumentation information when a program status word field indicates capture is required. A reporting group stores into a buffer based on an origin address and a current address determined by instruction accessible controls.

Claim Score by NHIP

Read claim 8, the broadest

Abstract

An aspect includes run-time instrumentation reporting. An instruction stream is executed by a processor. Run-time instrumentation information of the executing instruction stream is captured by the processor. Run-time instrumentation records are created based on the captured run-time instrumentation information. A run-time instrumentation sample point of the executing instruction stream on the processor is detected. A reporting group is stored in a run-time instrumentation program buffer. The storing is based on the detecting and the storing includes: determining a current address of the run-time instrumentation program buffer, the determining based on instruction accessible run-time instrumentation controls; and storing the reporting group into the run-time instrumentation program buffer based on an origin address and the current address of the run-time instrumentation program buffer, the reporting group including the created run-time instrumentation records.

Term

7 yearsleft in the term

Expires 15 September 2033, including 548 days of term adjustment.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

13 claims: 2 independent, 11 dependent

  1. 1
    A computer program product for run-time instrumentation reporting, the computer program product comprising:a non-transitory tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: executing an instruction stream of a computer program, the executing by a processor;determining, based on contents of an instrumentation control field in a program status word (PSW) associated with the computer program, that run-time instrumentation information of said executing instruction stream should be captured, wherein the contents of the PSW associated with the computer program persist during context switches by the processor;capturing, by the processor, the run-time instrumentation information of said executing instruction stream;based on said captured run-time instrumentation information, creating run-time instrumentation records;detecting a run-time instrumentation sample point of the executing instruction stream on the processor;and storing a reporting group in a run-time instrumentation program buffer, the storing based on the detecting a run-time instrumentation sample point, the storing comprising: determining a current address of the run-time instrumentation program buffer, the determining based on instruction accessible run-time instrumentation controls;and storing the reporting group into the run-time instrumentation program buffer based on an origin address of the run-time instrumentation program buffer and the current address of the run-time instrumentation program buffer, the reporting group comprising said created run-time instrumentation records.
  2. 8
    Broadest claimClaim Score 34, narrow(NHIP)A system for run-time instrumentation reporting, the system comprising:a processor, the system configured to perform a method comprising: executing an instruction stream of a computer program, the executing by the processor;determining, based on contents of an instrumentation control field in a program status word (PSW) associated with the computer program, that run-time instrumentation information of said executing instruction stream should be captured, wherein the contents of the PSW associated with the computer program persist during context switches by the processor;capturing, by the processor, the run-time instrumentation information of said executing instruction stream;based on said captured run-time instrumentation information, creating run-time instrumentation records;detecting a run-time instrumentation sample point of the executing instruction stream on the processor;and storing a reporting group in a run-time instrumentation program buffer, the storing based on the detecting a run-time instrumentation sample point, the storing comprising: determining a current address of the run-time instrumentation program buffer, the determining based on instruction accessible run-time instrumentation controls;and storing the reporting group into the run-time instrumentation program buffer based on an origin address of the run-time instrumentation program buffer and the current address of the run-time instrumentation program buffer, the reporting group comprising said created run-time instrumentation records.