Apparatus, method, and system for logging diagnostic information
First Claim
1. An apparatus for logging diagnostic information, the apparatus comprising:
- at least one software module configured to provide diagnostic information to a bus;
a plurality of buffers configured to store data;
a buffer management module configured to transfer diagnostic information from the bus to a selected buffer of the plurality of buffers; and
the buffer management module further configured to transfer the diagnostic information from the selected buffer to a diagnostic log corresponding to the selected buffer.
4 Assignments
0 Petitions
Accused Products
Abstract
A diagnostic tracing logger is presented for use in a multithread environment in which diagnostic trace log entries are captured and recorded. The trace logs are composed of sequences of memory addresses used to access instructions and operands, instruction op-codes and register specifiers, sequences of memory addresses, branch instructions or exceptions, the contents of registers or semiconductor memory locations, and the like. In one embodiment, a software module configures a plurality of buffers to capture bus traces, each trace triggered by a specific pattern. A buffer controller manages transfer of diagnostic trace information from the plurality of buffers to a diagnostic log without using processor memory cycles. The trace information is transferred to a selected buffer using a processor cache flush instruction. Diagnostic trace logging facilitates diagnosis of complex system and software interactions without the cost and overhead of prior art trace logging techniques.
47 Citations
32 Claims
-
1. An apparatus for logging diagnostic information, the apparatus comprising:
-
at least one software module configured to provide diagnostic information to a bus;
a plurality of buffers configured to store data;
a buffer management module configured to transfer diagnostic information from the bus to a selected buffer of the plurality of buffers; and
the buffer management module further configured to transfer the diagnostic information from the selected buffer to a diagnostic log corresponding to the selected buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer readable storage medium comprising computer readable program code for logging diagnostic information, the program code configured to conduct a method comprising:
-
providing diagnostic information to a bus;
administering a buffer management module, including;
transferring diagnostic information from the bus to a selected buffer of a plurality of buffers configured to store data; and
transferring diagnostic information from a selected buffer to a diagnostic log corresponding to the selected buffer. - View Dependent Claims (16, 17, 18, 19, 20)
-
-
21. An apparatus for logging diagnostic information, the apparatus comprising:
-
means for providing diagnostic information to a bus;
means for transferring the diagnostic information from the bus to a selected buffer of a plurality of buffers and means for transferring the diagnostic information from the selected buffer to a diagnostic log corresponding to the selected buffer. - View Dependent Claims (22, 23)
-
-
24. A system for logging diagnostic information, the system comprising:
-
at least one module configured to provide diagnostic information to a bus;
a plurality of buffers configured to store data;
a buffer management module configured to transfer diagnostic information from the bus to a selected buffer of the plurality of buffers; and
the buffer management module further configured to transfer the diagnostic information from the selected buffer to a diagnostic log corresponding to the selected buffer. - View Dependent Claims (25, 26, 27, 28, 29)
-
-
30. A method for logging diagnostic information, the method comprising:
-
providing diagnostic information to a bus;
transferring the diagnostic information from the bus to a selected buffer of a plurality of buffers; and
transferring the diagnostic information from the selected buffer to a diagnostic log corresponding to the selected buffer.
-
-
31. A FIFO management module, comprising:
-
a first transfer module configured to initiate a transfer of diagnostic information from a bus to a selected FIFO memory device; and
a second transfer module configured to initiate a transfer of the diagnostic information from the selected FIFO memory device to a diagnostic log corresponding to the selected FIFO memory device. - View Dependent Claims (32)
-
Specification