Patent ID: 9372693
Filing Date: 2016-06-21
CPC Classification: G06F

Claim Text:
1. A computer implemented method for implementing run-time instrumentation sampling in transactional-execution mode, the method comprising: determining, by a processor, that the processor is configured to execute instructions of an instruction stream in a transactional-execution mode, the instructions defining a transaction; interlocking completion of storage operations of the instructions to prevent instruction-directed storage until completion of the transaction; collecting run-time instrumentation events in a collection buffer while in the transactional-execution mode, the collection buffer located within the processor, wherein the run-time instrumentation events are events recognized by the processor during execution of the instructions; recognizing a sample point during execution of the instructions while in the transactional-execution mode, the sample point corresponding to an instruction executed inside of the transaction; run-time-instrumentation-directed storing, upon successful completion of the transaction, run-time instrumentation information obtained at the sample point; and performing the run-time-instrumentation-directed storing as a non-transactional store of a reporting group based on the run-time instrumentation events in the collection buffer to a run-time instrumentation program buffer in a main memory.