Run-time instrumentation reporting

    公开(公告)号:US09195461B2

    公开(公告)日:2015-11-24

    申请号:US13422552

    申请日:2012-03-16

    IPC分类号: G06F9/30 G06F11/36 G06F9/455

    摘要: 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.

    Run-time instrumentation reporting
    3.
    发明授权
    Run-time instrumentation reporting 有权
    运行时仪表报告

    公开(公告)号:US09471315B2

    公开(公告)日:2016-10-18

    申请号:US13422552

    申请日:2012-03-16

    IPC分类号: G06F9/30 G06F11/36 G06F9/455

    摘要: 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.

    摘要翻译: 一方面包括运行时仪器报告。 指令流由处理器执行。 处理器捕获执行指令流的运行时检测信息。 基于捕获的运行时间检测信息创建运行时检测记录。 检测处理器上执行指令流的运行时检测采样点。 报告组存储在运行时仪表程序缓冲区中。 存储是基于检测和存储包括:确定运行时仪表程序缓冲器的当前地址,基于指令可访问的运行时仪表控制的确定; 并且基于源地址和运行时仪表程序缓冲器的当前地址将报告组存储到运行时检测程序缓冲器中,报告组包括创建的运行时仪表记录。

    Controlling operation of a run-time instrumentation facility
    4.
    发明授权
    Controlling operation of a run-time instrumentation facility 有权
    控制运行时仪表设备的运行

    公开(公告)号:US09158660B2

    公开(公告)日:2015-10-13

    申请号:US13422546

    申请日:2012-03-16

    IPC分类号: G06F11/36

    摘要: An aspect includes 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. The instruction is executed based on determining, 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.

    摘要翻译: 一个方面包括启用和禁用运行时仪器设施的执行。 处理器处于较低特权状态的执行指令由处理器提取。 该指令是基于由处理器确定运行时仪表设备允许执行较弱特权状态的指令并且与运行时仪表设备相关联的控制是有效的而执行的。 基于运行时间仪器设备(RIOFF)指令的指令,运行时仪表设备被禁用。 禁用包括更新处理器的程序状态字(PSW)中的位以指示运行时仪表数据不应被处理器捕获。 基于(RION)指令的运行时仪表设备的指令启用运行时仪表设备。 启用包括更新PSW中的位以指示运行时仪表数据应由处理器捕获。

    RUN-TIME INSTRUMENTATION REPORTING
    5.
    发明申请
    RUN-TIME INSTRUMENTATION REPORTING 有权
    运行时间仪表报告

    公开(公告)号:US20130246755A1

    公开(公告)日:2013-09-19

    申请号:US13422552

    申请日:2012-03-16

    IPC分类号: G06F9/30

    摘要: Embodiments of the invention relate to 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.

    摘要翻译: 本发明的实施例涉及运行时仪表报告。 指令流由处理器执行。 处理器捕获执行指令流的运行时检测信息。 基于捕获的运行时间检测信息创建运行时检测记录。 检测处理器上执行指令流的运行时检测采样点。 报告组存储在运行时仪表程序缓冲区中。 存储是基于检测和存储包括:确定运行时仪表程序缓冲器的当前地址,基于指令可访问的运行时仪表控制的确定; 并且基于源地址和运行时仪表程序缓冲器的当前地址将报告组存储到运行时检测程序缓冲器中,报告组包括创建的运行时仪表记录。

    DETERMINING THE STATUS OF RUN-TIME-INSTRUMENTATION CONTROLS
    9.
    发明申请
    DETERMINING THE STATUS OF RUN-TIME-INSTRUMENTATION CONTROLS 有权
    确定运行时间仪表控制的状态

    公开(公告)号:US20130246743A1

    公开(公告)日:2013-09-19

    申请号:US13422589

    申请日:2012-03-16

    IPC分类号: G06F9/30

    摘要: The invention relates to determining the status of run-time-instrumentation controls. The status is determined by executing a test run-time-instrumentation controls (TRIC) instruction. The TRIC instruction executed in either a supervisor state or a lesser-privileged state. The TRIC instruction determines whether the run-time-instrumentation controls have changed. The run-time-instrumentation controls are set to an initial value using a privileged load run-time-instrumentation controls (LRIC) instruction. The TRIC instruction is fetched and executed. If the TRIC instruction is enabled, then it is determined if the initial value set by the run-time-instrumentation controls has been changed. If the initial value set by the run-time-instrumentation controls has been changed, then a condition code is set to a first value.

    摘要翻译: 本发明涉及确定运行时仪表控制的状态。 通过执行测试运行时仪表控制(TRIC)指令来确定状态。 TRIC指令在监督状态或较弱权限状态下执行。 TRIC指令确定运行时仪表控件是否已更改。 使用特权负载运行时仪表控件(LRIC)指令将运行时仪表控件设置为初始值。 获取并执行TRIC指令。 如果启用了TRIC指令,则确定运行时间仪表控制设置的初始值是否已更改。 如果由运行时间检测控件设置的初始值已更改,则将条件代码设置为第一个值。