Executable High-Level Trace File Generation System and Method
First Claim
1. A computer-performed method of generating an executable and user-modifiable trace file script, the method comprising:
- first executing an executable instruction stream within a computer system that invokes a sequence of high-level procedures; and
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; and
responsive to a subsequent command, second executing the trace file within the computer system to reproduce at least part of the behavior of the executable instruction stream.
1 Assignment
0 Petitions
Accused Products
Abstract
An executable high-level trace file generation system and method provide 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.
37 Citations
32 Claims
-
1. A computer-performed method of generating an executable and user-modifiable trace file script, the method comprising:
-
first executing an executable instruction stream within a computer system that invokes a sequence of high-level procedures; and 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; and responsive to a subsequent command, second executing the trace file within the computer system to reproduce at least part of the behavior of the executable instruction stream. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. 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:
-
first executing an executable instruction stream that invokes a sequence of high-level procedures; and 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; and responsive to a subsequent command, second executing the trace file to reproduce at least part of the behavior of the executable instruction stream. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product comprising computer readable storage media containing program instructions for execution by a processor, the program instructions comprising program instructions for:
-
first executing an executable instruction stream that invokes a sequence of high-level procedures; and 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; and responsive to a subsequent command, second executing the trace file to reproduce at least part of the behavior of the executable instruction stream. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A system, comprising:
-
a plurality of processors coupled to a system memory; a service processor for controlling startup and operation of the plurality of processors and having a service processor command port for receiving commands; a workstation processor coupled to a workstation memory for storing program instructions for execution by the workstation processor, wherein the program instructions comprise program instructions for, first executing an executable instruction stream that invokes a sequence of high-level procedures that send commands to and receive data from the service processor command port, and 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, and responsive to a subsequent command, second executing the trace file to reproduce at least part of the behavior of the executable instruction stream to send commands to the service processor. - View Dependent Claims (29)
-
-
30. A computer program product comprising computer readable storage media containing program instructions for execution by a processor, the program instructions comprising:
-
program means for automatically invoking a sequence of high-level procedures; and program means for generating a trace file during the invoking, such that the trace file is re-executable to replicate the sequence of high-level procedures. - View Dependent Claims (31, 32)
-
Specification