IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0772895
(2007-07-03)
|
등록번호 |
US-8429619
(2013-04-23)
|
발명자
/ 주소 |
- Albert, Jason T.
- Engel, Christopher J.
- Farrugia, John
- Van Leeuwen, Paul G.
- Wieman, Brent M.
|
출원인 / 주소 |
- International Business Machines Corporation
|
대리인 / 주소 |
Mitch Harris, Atty at Law, LLC
|
인용정보 |
피인용 횟수 :
1 인용 특허 :
6 |
초록
▼
An executable high-level trace file generation system provides reduced debugging effort and time, particularly on initial startup of new or modified hardware. An executable program invokes high-level application programming interfaces (APIs), to perform various tasks. Instructions within the APIs g
An executable high-level trace file generation system provides reduced debugging effort and time, particularly on initial startup of new or modified hardware. An executable program invokes high-level application programming interfaces (APIs), to perform various tasks. Instructions within the APIs generate a trace file documenting the invoked sequence of APIs by writing a line to a trace file that documents the API and input parameters received by the API. Upon completion of execution of the API, the return value may be documented as a comment line in the trace file. The resulting trace file is then re-executable as a script and may be edited to alter the sequence of APIs invoked and/or the arguments provided. The script interpreter may be a command line interface through which the APIs are invoked, and trace files may be similarly generated that document sequences of manually entered commands.
대표청구항
▼
1. A system, comprising a processor coupled to a memory for storing program instructions for execution by the processor, wherein the program instructions comprise program instructions for: controlling execution of an instruction stream that invokes a sequence of high-level procedures automatically a
1. A system, comprising a processor coupled to a memory for storing program instructions for execution by the processor, wherein the program instructions comprise program instructions for: controlling execution of an instruction stream that invokes a sequence of high-level procedures automatically and without user intervention, wherein the executable instruction stream is a binary instruction stream and the invocation of the sequence of high-level procedures is a sequence of function calls performed by the executable instruction stream; andgenerating a trace file during execution of the executable instruction stream that represents invocations of the high-level procedure invocations as a human-readable script that can be executed to repeat the invocation of the sequence of high-level procedures, wherein the trace file is generated such that return parameters supplied from the high-level procedures to the executable instruction stream are documented in the trace as comments;editing the trace file to alter a behavior specified by the trace file to alter the sequence of the high-level procedures; andresponsive to a subsequent command, executing the trace file as a script to reproduce at least part of the behavior of the executable instruction stream as modified by the editing of the trace file. 2. The system of claim 1, wherein the program instructions for generating are trace file-generating instructions embedded within the high-level procedures. 3. The system of claim 1, further comprising program instructions for: receiving a call at one of the high-level procedures; determining whether or not a configuration parameters set indicating that the trace file should be generated;responsive to determining that the configuration parameter is set, performing the generating; andresponsive to determining that the configuration parameter is not set, skipping the generating. 4. The system of claim 1, further comprising program instructions for receiving a sequence of user input commands invoking the high-level procedures via a command interface, wherein the program instructions for controlling execution of the executable instruction stream are executed in response to the sequence of user input commands, and wherein the program instructions for generating generate a record of the sequence of user input commands that is subsequently repeated by the program instructions for executing controlling execution of the trace file. 5. The system of claim 4, wherein the program instructions for receiving further cause execution of the program instructions for executing controlling execution of the trace file in response to receiving a command that specifies the trace file as a command script. 6. The system of claim 1, wherein the high-level procedures are procedures for controlling another processing system via a command port of a service processor that controls operation of the other processing system, whereby startup or maintenance operations are documented by the trace file. 7. The system of claim 1, wherein the program instructions for generating generate the trace file such that input parameters supplied to the high-level procedures by the executable instruction stream are documented in the trace file as immediate fixed values. 8. The system of claim 1, wherein the program instructions for editing insert or remove one or more representations of invocations of the high-level procedures to alter the sequence of invocations of the high-level procedures performed by executing the trace file. 9. A computer program product comprising a computer readable storage device storing program instructions for execution by a processor, the program instructions comprising: program instructions for controlling execution of an executable instruction stream that invokes a sequence of high-level procedures automatically and without user intervention, wherein the executable instruction stream is a binary instruction stream and the invocation of the sequence of high-level procedures is a sequence of function calls performed by the executable instruction stream; andprogram instructions for generating a trace file during execution of the executable instruction stream that represents invocations of the high-level procedure invocations as a human-readable script that can be executed to repeat the invocation of the sequence of high-level procedures, wherein the trace file is generated such that return parameters supplied from the high-level procedures to the executable instruction stream are documented in the trace file as comments;program instructions for editing the trace file to alter a behavior specified by the trace file to alter the sequence of high-level procedures; andprogram instructions for, responsive to a subsequent command, executing the trace file as a script to reproduce at least part of the behavior of the executable instruction stream as modified by the editing of the trace file. 10. The computer program product of claim 9, wherein the program instructions for generating are trace file-generating instructions embedded within the high-level procedures. 11. The computer program product of claim 9, further comprising program instructions for: receiving a call at one of the high-level procedures;determining whether or not a configuration parameters set indicating that the trace file should be generated;responsive to determining that the configuration parameter is set, performing the generating; andresponsive to determining that the configuration parameter is not set, skipping the generating. 12. The computer program product of claim 9, further comprising program instructions for receiving a sequence of user input commands invoking the high-level procedures via a command interface, wherein the program instructions for controlling the execution of the executable instruction stream are executed in response to the sequence of user input commands, and wherein the program instructions for generating generate a record of the sequence of user input commands that is subsequently repeated by the program instructions for executing controlling the execution of the trace file. 13. The computer program product of claim 12, wherein the program instructions for receiving further cause execution of the program instructions for executing of the trace file in response to receiving a command that specifies the trace file as a command script. 14. The computer program product of claim 9, wherein the high-level procedures are procedures for controlling another processing system via a command port of a service processor that controls operation of the other processing system, whereby startup or maintenance operations are documented by the trace file. 15. The computer program product of claim 9, wherein the program instructions for generating generate the trace file such that input parameters supplied to the high-level procedures by the executable instruction stream are documented in the trace file as immediate fixed values. 16. The computer program product of claim 9, wherein the program instructions for editing insert or remove one or more representations of invocations of the high-level procedures to alter the sequence of invocations of the high-level procedures performed by executing the trace file.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.