Notificación de instrumentación en tiempo de ejecución

    公开(公告)号:ES2745709T3

    公开(公告)日:2020-03-03

    申请号:ES13761271

    申请日:2013-02-28

    Applicant: IBM

    Abstract: Un procedimiento implementado por ordenador para la notificación de instrumentación en tiempo de ejecución, el procedimiento que comprende: ejecutar (1702) un flujo de instrucciones de un primer programa de ordenador, la ejecución mediante un procesador (106); determinar, en base al contenido de un campo de control de instrumentación en una palabra de estado de programa, PSW (512) del primer programa de ordenador, que debe capturarse la información de instrumentación en tiempo de ejecución de dicho flujo de instrucciones en ejecución, en el que el contenido de la PSW del primer programa de ordenador persiste durante las conmutaciones de contexto por parte del procesador; en respuesta a la determinación de que el campo de control de instrumentación indica que la instrumentación está habilitada, capturar (1704), mediante el procesador, la información de instrumentación en tiempo de ejecución de dicho flujo de instrucciones en ejecución; en base a dicha información de instrumentación en tiempo de ejecución capturada, crear (1706) registros de instrumentación en tiempo de ejecución; detectar (1708) un punto de muestra de instrumentación en tiempo de ejecución del flujo de instrucciones en ejecución en el procesador; y almacenar (1710) un grupo de notificación en una memoria intermedia del programa de instrumentación en tiempo de ejecución (522), el almacenamiento se basa en la detección de un punto de muestra de instrumentación en tiempo de ejecución, el almacenamiento que comprende: determinar una dirección actual (706) de la memoria intermedia del programa de instrumentación en tiempo de ejecución, la determinación basada en controles de instrumentación accesibles en tiempo de ejecución mediante instrucciones; y almacenar el grupo de notificación (900) en la memoria intermedia del programa de instrumentación en tiempo de ejecución en base a una dirección de origen (702) y la dirección actual de la memoria intermedia del programa de instrumentación en tiempo de ejecución, el grupo de notificación que comprende dichos registros de instrumentación en tiempo de ejecución creados.

    Controlling operation of a run-time instrumentation facility from a lesser-privileged state

    公开(公告)号:AU2013233830A1

    公开(公告)日:2014-09-11

    申请号:AU2013233830

    申请日:2013-03-01

    Applicant: IBM

    Abstract: 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.

    Control del funcionamiento de una facilidad de instrumentación en tiempo de ejecución desde un estado con menos privilegios

    公开(公告)号:ES2893826T3

    公开(公告)日:2022-02-10

    申请号:ES13761846

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Un método para habilitar y deshabilitar la ejecución de una facilidad de instrumentación en tiempo de ejecución en un procesador, el método comprende: buscar, mediante un procesador (106), una instrucción para que el procesador la ejecute en un estado con menos privilegios, la instrucción uno de una instrucción de facilidad de instrumentación en tiempo de ejecución desactivada (RIOFF) y una instrucción de facilidad instrumentación de tiempo de ejecución activada (RION); en base a la determinación, por parte del procesador, de que la facilidad de instrumentación en tiempo de ejecución permite ejecutar la instrucción en el estado con menos privilegios y que los controles asociados con la facilidad de instrumentación en tiempo de ejecución son válidos, ejecutar la instrucción, la ejecución comprende cualquiera de los siguientes: deshabilitar la facilidad de instrumentación en tiempo de ejecución basándose en la instrucción sea la instrucción de RIOFF, la deshabilitación incluye actualizar un bit de estado de facilidad de instrumentación en tiempo de ejecución en una palabra de estado de programa (PSW) del procesador para indicar que los datos de instrumentación en tiempo de ejecución no deben ser capturados por el procesador; y habilitar la facilidad de instrumentación en tiempo de ejecución basándose en que la instrucción sea la instrucción de RION, la habilitación incluye actualizar el bit de estado de la facilidad de instrumentación en tiempo de ejecución en la PSW para indicar que los datos de instrumentación en tiempo de ejecución deben ser capturados por el procesador, y caracterizado porque la instrucción es de un subproceso actualmente en ejecución en un entorno multiproceso, y porque la PSW está asociada con el subproceso en ejecución, y un estado de la facilidad de instrumentación en tiempo de ejecución para el subproceso en ejecución se mantiene en la PSW a través de los envíos del subproceso de ejecución.

    Controlling operation of a run-time instrumentation facility from a lesser-privileged state

    公开(公告)号:AU2013233830B2

    公开(公告)日:2016-06-23

    申请号:AU2013233830

    申请日:2013-03-01

    Applicant: IBM

    Abstract: 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.

    Run-time instrumentation directed sampling

    公开(公告)号:AU2013233831B2

    公开(公告)日:2016-05-12

    申请号:AU2013233831

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Embodiments of the invention relate to implementing run-time instrumentation directed sampling. An aspect of the invention includes a method for implementing run-time instrumentation directed sampling. The method includes fetching a run-time instrumentation next (RINEXT) instruction from an instruction stream. The instruction stream includes the RINEXT instruction followed by a next sequential instruction (NSI) in program order. The method further includes executing the RINEXT instruction by a processor. The executing includes determining whether a current run-time instrumentation state enables setting a sample point for reporting run-time instrumentation information during program execution. Based on the current run-time instrumentation state enabling setting the sample point, the NSI is a sample instruction for causing a run-time instrumentation event. Based on executing the NSI sample instruction, the run-time instrumentation event causes recording of run-time instrumentation information into a run-time instrumentation program buffer as a reporting group.

    Run-time instrumentation reporting
    17.
    发明专利

    公开(公告)号:AU2013233826B2

    公开(公告)日:2016-06-23

    申请号:AU2013233826

    申请日:2013-02-28

    Applicant: IBM

    Abstract: 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.

    CONTROLLING OPERATION OF A RUN-TIME INSTRUMENTATION FACILITY FROM A LESSER-PRIVILEGED STATE

    公开(公告)号:SG11201404861QA

    公开(公告)日:2014-09-26

    申请号:SG11201404861Q

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Aspects 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.

    Run-time instrumentation directed sampling

    公开(公告)号:AU2013233831A1

    公开(公告)日:2014-09-11

    申请号:AU2013233831

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Embodiments of the invention relate to implementing run-time instrumentation directed sampling. An aspect of the invention includes a method for implementing run-time instrumentation directed sampling. The method includes fetching a run-time instrumentation next (RINEXT) instruction from an instruction stream. The instruction stream includes the RINEXT instruction followed by a next sequential instruction (NSI) in program order. The method further includes executing the RINEXT instruction by a processor. The executing includes determining whether a current run-time instrumentation state enables setting a sample point for reporting run-time instrumentation information during program execution. Based on the current run-time instrumentation state enabling setting the sample point, the NSI is a sample instruction for causing a run-time instrumentation event. Based on executing the NSI sample instruction, the run-time instrumentation event causes recording of run-time instrumentation information into a run-time instrumentation program buffer as a reporting group.

Patent Agency Ranking