发明名称 TRACE METHOD AND INFORMATION PROCESSING APPARATUS
摘要 An information processing apparatus includes a rewriting unit and an execution unit. The rewriting unit rewrites a first instruction described at a trace point in a function defined in a program to a second instruction which gives instructions to execute a trace code, and stores the first instruction in a storage unit. The execution unit executes the trace code on the basis of the second instruction at the time of execution at the trace point in the function. If a third instruction which calls the function is included in the trace code, the execution unit replaces, at the time of executing the third instruction, the second instruction at the trace point in the function with the first instruction stored in the storage unit, and performs the function.
申请公布号 US2015095626(A1) 申请公布日期 2015.04.02
申请号 US201414483750 申请日期 2014.09.11
申请人 Fujitsu Limited 发明人 Nakagawa Takashi;Suzuki Yasutoshi;Yamamoto Hiroyuki;Imaeda Kazuhide
分类号 G06F9/30;G06F11/26 主分类号 G06F9/30
代理机构 代理人
主权项 1. A computer-readable, non-transitory storage medium storing a processing program that causes a computer to perform a trace process on the basis of a trace code during execution of a program, the trace process comprising: rewriting a first instruction described at a trace point in a function defined in the program to a second instruction which gives instructions to execute the trace code and storing the first instruction in a storage unit; executing the trace code on the basis of the second instruction at the time of execution at the trace point in the function; and replacing, at the time of executing a third instruction which calls the function and which is included in the trace code, the second instruction at the trace point in the function with the first instruction stored in the storage unit and performing the function.
地址 Kawasaki-shi JP