Instruction tracing in data processing systems
First Claim
1. Apparatus for processing data, said apparatus comprising:
- (i) a data processing circuit operable over a sequence of processing cycles to perform data processing operations in response to program instructions; and
(ii) a tracing circuit operable to generate instruction trace data indicative of operation of said data processing circuit in response to said program instructions;
(iii) wherein said instruction trace data includes at least one instruction trace word of a predetermined length encoding a sequence of trace events resulting from processing performed on consecutive processing cycles by said data processing circuit, said sequence of trace events including;
(iv) at least one trace event corresponding to execution of a program instruction by said data processing circuit; and
(v) at least one trace event corresponding to other than execution of a program instruction by said data processing circuit.
1 Assignment
0 Petitions
Accused Products
Abstract
A tracing circuit 8 within an apparatus for data processing 2 generates trace data including instruction trace words encoding trace events W, E, N representing program instruction execution. The instruction trace words have a predetermined length and each represent a sequence of trace events corresponding to a combination of execution of one or more program instructions combined with one or more trace events that are other than execution of a program instruction word. Particular examples are a sequence of executed program instructions terminated by a program instruction that fails its condition codes or a sequence of wait processing cycles terminated by a program instruction that executes.
-
Citations
18 Claims
-
1. Apparatus for processing data, said apparatus comprising:
-
(i) a data processing circuit operable over a sequence of processing cycles to perform data processing operations in response to program instructions; and
(ii) a tracing circuit operable to generate instruction trace data indicative of operation of said data processing circuit in response to said program instructions;
(iii) wherein said instruction trace data includes at least one instruction trace word of a predetermined length encoding a sequence of trace events resulting from processing performed on consecutive processing cycles by said data processing circuit, said sequence of trace events including;
(iv) at least one trace event corresponding to execution of a program instruction by said data processing circuit; and
(v) at least one trace event corresponding to other than execution of a program instruction by said data processing circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of processing data, said method comprising the steps of:
-
(i) performing over a sequence of processing cycles of a data processing circuit data processing operations in response to program instructions; and
(ii) generating instruction trace data indicative of operation of said data processing circuit in response to said program instructions;
(iii) wherein said instruction trace data includes at least one instruction trace word of a predetermined length encoding a sequence of trace events resulting from processing performed on consecutive processing cycles by said data processing circuit, said sequence of trace events including;
(iv) at least one trace event corresponding to execution of a program instruction by said data processing circuit; and
(v) at least one trace event corresponding to other than execution of a program instruction by said data processing circuit.
-
-
16. Apparatus for analysing trace data, said apparatus comprising:
(i) analyser logic responsive to instruction trace data including at least one instruction trace word of a predetermined length encoding a sequence of trace events resulting from processing performed on consecutive processing cycles by a data processing circuit, said analyser logic being operative to identify instruction trace words representing a sequence of trace events including;
(ii) at least one trace event corresponding to execution of a program instruction by said data processing circuit; and
(iii) at least one trace event corresponding to other than execution of a program instruction by said data processing circuit.
-
17. A method of analysing trace data, said method comprising the step of:
(i) identify, in response to instruction trace data including at least one instruction trace word of a predetermined length encoding a sequence of trace events resulting from processing performed on consecutive processing cycles by a data processing circuit, instruction trace words representing a sequence of trace events including;
(ii) at least one trace event corresponding to execution of a program instruction by said data processing circuit; and
(iii) at least one trace event corresponding to other than execution of a program instruction by said data processing circuit.
-
18. A computer program product for controlling a computer to analyse trace data, said computer program product comprising:
(i) identifying code operable, in response to instruction trace data including at least one instruction trace word of a predetermined length encoding a sequence of trace events resulting from processing performed on consecutive processing cycles by a data processing circuit, to identify instruction trace words representing a sequence of trace events including;
(ii) at least one trace event corresponding to execution of a program instruction by said data processing circuit; and
(iii) at least one trace event corresponding to other than execution of a program instruction by said data processing circuit.
Specification