-
公开(公告)号:US09195461B2
公开(公告)日:2015-11-24
申请号:US13422552
申请日:2012-03-16
摘要: 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.
-
2.
公开(公告)号:US20130246770A1
公开(公告)日:2013-09-19
申请号:US13422546
申请日:2012-03-16
申请人: Mark S. Farrell , Charles W. Gainey, JR. , Marcel Mitran , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith , Kevin A. Stoodley
发明人: Mark S. Farrell , Charles W. Gainey, JR. , Marcel Mitran , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith , Kevin A. Stoodley
IPC分类号: G06F9/30
CPC分类号: G06F11/3644 , G06F9/30076 , G06F9/30101 , G06F11/3636 , G06F11/3648
摘要: Embodiments of the invention relate to 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. It is determined, 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.
-
公开(公告)号:US09471315B2
公开(公告)日:2016-10-18
申请号:US13422552
申请日:2012-03-16
CPC分类号: G06F9/30145 , G06F9/3005 , G06F9/45504 , G06F11/3636 , G06F11/3648
摘要: 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.
摘要翻译: 一方面包括运行时仪器报告。 指令流由处理器执行。 处理器捕获执行指令流的运行时检测信息。 基于捕获的运行时间检测信息创建运行时检测记录。 检测处理器上执行指令流的运行时检测采样点。 报告组存储在运行时仪表程序缓冲区中。 存储是基于检测和存储包括:确定运行时仪表程序缓冲器的当前地址,基于指令可访问的运行时仪表控制的确定; 并且基于源地址和运行时仪表程序缓冲器的当前地址将报告组存储到运行时检测程序缓冲器中,报告组包括创建的运行时仪表记录。
-
公开(公告)号:US09158660B2
公开(公告)日:2015-10-13
申请号:US13422546
申请日:2012-03-16
申请人: Mark S. Farrell , Charles W. Gainey, Jr. , Marcel Mitran , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith , Kevin A. Stoodley
发明人: Mark S. Farrell , Charles W. Gainey, Jr. , Marcel Mitran , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith , Kevin A. Stoodley
IPC分类号: G06F11/36
CPC分类号: G06F11/3644 , G06F9/30076 , G06F9/30101 , G06F11/3636 , G06F11/3648
摘要: 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中的位以指示运行时仪表数据应由处理器捕获。
-
公开(公告)号:US20130246755A1
公开(公告)日:2013-09-19
申请号:US13422552
申请日:2012-03-16
IPC分类号: G06F9/30
CPC分类号: G06F9/30145 , G06F9/3005 , G06F9/45504 , G06F11/3636 , G06F11/3648
摘要: 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.
摘要翻译: 本发明的实施例涉及运行时仪表报告。 指令流由处理器执行。 处理器捕获执行指令流的运行时检测信息。 基于捕获的运行时间检测信息创建运行时检测记录。 检测处理器上执行指令流的运行时检测采样点。 报告组存储在运行时仪表程序缓冲区中。 存储是基于检测和存储包括:确定运行时仪表程序缓冲器的当前地址,基于指令可访问的运行时仪表控制的确定; 并且基于源地址和运行时仪表程序缓冲器的当前地址将报告组存储到运行时检测程序缓冲器中,报告组包括创建的运行时仪表记录。
-
6.
公开(公告)号:US09454462B2
公开(公告)日:2016-09-27
申请号:US13422542
申请日:2012-03-16
申请人: Mark S. Farrell , Charles W. Gainey, Jr. , Marcel M. Mitran , Damian L. Osisek , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith
发明人: Mark S. Farrell , Charles W. Gainey, Jr. , Marcel M. Mitran , Damian L. Osisek , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith
CPC分类号: G06F9/30145 , G06F9/3005 , G06F9/45533 , G06F11/3466 , G06F11/348 , G06F11/3644 , G06F2201/86 , G06F2201/88
摘要: The invention relates to monitoring processor characteristic information of a processor using run-time-instrumentation. An aspect of the invention includes executing an instruction stream on the processor and detecting a run-time instrumentation sample point of the executing instruction stream on the processor. A reporting group is stored in a run-time instrumentation program buffer based on the run-time instrumentation sample point. The reporting group includes processor characteristic information associated with the processor.
摘要翻译: 本发明涉及使用运行时间仪器监视处理器的处理器特性信息。 本发明的一个方面包括在处理器上执行指令流并检测处理器上的执行指令流的运行时检测采样点。 基于运行时仪器采样点,报告组存储在运行时仪表程序缓冲区中。 报告组包括与处理器相关联的处理器特性信息。
-
7.
公开(公告)号:US20130246769A1
公开(公告)日:2013-09-19
申请号:US13422542
申请日:2012-03-16
申请人: Mark S. Farrell , Charles W. Gainey, JR. , Marcel M. Mitran , Damian L. Osisek , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith
发明人: Mark S. Farrell , Charles W. Gainey, JR. , Marcel M. Mitran , Damian L. Osisek , Chung-Lung K. Shum , Timothy J. Slegel , Brian L. Smith
IPC分类号: G06F9/30
CPC分类号: G06F9/30145 , G06F9/3005 , G06F9/45533 , G06F11/3466 , G06F11/348 , G06F11/3644 , G06F2201/86 , G06F2201/88
摘要: Embodiments of the invention relate to monitoring processor characteristic information of a processor using run-time-instrumentation. An aspect of the invention includes executing an instruction stream on the processor and detecting a run-time instrumentation sample point of the executing instruction stream on the processor. A reporting group is stored in a run-time instrumentation program buffer based on the run-time instrumentation sample point. The reporting group includes processor characteristic information associated with the processor.
摘要翻译: 本发明的实施例涉及使用运行时间仪器监视处理器的处理器特性信息。 本发明的一个方面包括在处理器上执行指令流并检测处理器上的执行指令流的运行时检测采样点。 基于运行时仪器采样点,报告组存储在运行时仪表程序缓冲区中。 报告组包括与处理器相关联的处理器特性信息。
-
公开(公告)号:US20130246744A1
公开(公告)日:2013-09-19
申请号:US13422598
申请日:2012-03-16
CPC分类号: G06F11/3644 , G06F9/30076 , G06F9/30101 , G06F11/3636 , G06F11/3648
摘要: Embodiments of the invention relate to modifying run-time-instrumentation controls (MRIC) from a lesser-privileged state. The MRIC instruction is fetched. The MRIC instruction includes the address of a run-time-instrumentation control block (RICCB). The RICCB is fetched based on the address included in the MRIC instruction. The RICCB includes values for modifying a subset of the processor's run-time-instrumentation controls. The subset of run-time-instrumentation controls includes a runtime instrumentation program buffer current address (RCA) of a runtime instrumentation program buffer (RIB) location. The RIB holds run-time-instrumentation information of the events recognized by the processor during program execution. The values of the RICCB are loaded into the run-time-instrumentation controls. Event information is provided to the RIB based on the values that were loaded in the run-time-instrumentation control.
-
公开(公告)号:US20130246743A1
公开(公告)日:2013-09-19
申请号:US13422589
申请日:2012-03-16
IPC分类号: G06F9/30
CPC分类号: G06F9/30145 , G06F9/30021 , G06F9/3005 , G06F9/30076 , G06F9/30101 , G06F9/455 , G06F11/3636 , G06F11/3648
摘要: 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指令,则确定运行时间仪表控制设置的初始值是否已更改。 如果由运行时间检测控件设置的初始值已更改,则将条件代码设置为第一个值。
-
公开(公告)号:US09280447B2
公开(公告)日:2016-03-08
申请号:US13422598
申请日:2012-03-16
CPC分类号: G06F11/3644 , G06F9/30076 , G06F9/30101 , G06F11/3636 , G06F11/3648
摘要: Embodiments of the invention relate to modifying run-time-instrumentation controls (MRIC) from a lesser-privileged state. The MRIC instruction is fetched. The MRIC instruction includes the address of a run-time-instrumentation control block (RICCB). The RICCB is fetched based on the address included in the MRIC instruction. The RICCB includes values for modifying a subset of the processor's run-time-instrumentation controls. The subset of run-time-instrumentation controls includes a runtime instrumentation program buffer current address (RCA) of a runtime instrumentation program buffer (RIB) location. The RIB holds run-time-instrumentation information of the events recognized by the processor during program execution. The values of the RICCB are loaded into the run-time-instrumentation controls. Event information is provided to the RIB based on the values that were loaded in the run-time-instrumentation control.
-
-
-
-
-
-
-
-
-