发明名称 Method and system using hardware assistance for instruction tracing by revealing executed opcode or instruction
摘要 A method, system, apparatus, and computer program product is presented for assisting instruction tracing operations. A mechanism is provided within the processor for revealing the most recently executed instruction. After the instruction is completed, the opcode of the instruction or the entire instruction is revealed in one of a variety of manners, such as by writing the opcode or instruction to a register that may be read by application-level code. Alternatively, a series of instructions may be stored in a trace buffer within the processor upon the completion of each instruction. In another alternative, the size and address of a trace buffer in memory may be placed into configuration registers, and a series of instructions may be stored in the trace buffer after the completion of each instruction. The tracing operation for the series of instructions may be qualified so that it is performed only in a taken-branch tracing mode.
申请公布号 US2003135718(A1) 申请公布日期 2003.07.17
申请号 US20020045124 申请日期 2002.01.14
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DEWITT JIMMIE EARL;HUSSAIN RIAZ Y.;LEVINE FRANK ELIOT
分类号 G06F11/28;G06F11/34;G06F11/36;(IPC1-7):G06F15/00 主分类号 G06F11/28
代理机构 代理人
主权项
地址