System and method for tracing program execution within a processor before and after a triggering event
First Claim
1. A method for tracing real-time program execution within a processor, said method comprising the steps of:
- periodically generating one or more synchronizing events occurring in said processor, wherein said one or more synchronizing events signify a state of said processor;
detecting a triggering event occurring in said processor;
tracing instructions occurring after said one or more synchronizing events and before and after said triggering event; and
providing said one or more synchronizing events, triggering event, and traced instructions externally from said processor.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for tracing program code within a processor having an embedded cache memory. The non-invasive tracing technique minimizes the need for trace information to be broadcast externally. The tracing technique monitors changes in instruction flow from the normal execution stream of the code. The tracing technique monitors the updating of processor branch target register contents in order to monitor branch target flow of the code. Tracing of the program flow includes tracing instructions both before and after a trace triggering event. The implementation of periodic synchronizing events enables the tracing of instructions occurring before and after a triggering event.
131 Citations
4 Claims
-
1. A method for tracing real-time program execution within a processor, said method comprising the steps of:
-
periodically generating one or more synchronizing events occurring in said processor, wherein said one or more synchronizing events signify a state of said processor; detecting a triggering event occurring in said processor; tracing instructions occurring after said one or more synchronizing events and before and after said triggering event; and providing said one or more synchronizing events, triggering event, and traced instructions externally from said processor. - View Dependent Claims (2, 3)
-
-
4. A circuit for tracing real-time program execution within a processor comprising:
-
circuitry for periodically generating one or more synchronizing events occurring in said processor wherein said one or more synchronizing events signify a state of said processor; circuitry for detecting a triggering event occurring in said processor; circuitry for tracing instructions occurring after said one or more synchronizing events and before and after said triggering event; and circuitry for providing said one or more synchronizing events, triggering event, and traced instructions externally from said processor.
-
Specification