Sciweavers

CASES
2010
ACM

Real-time unobtrusive program execution trace compression using branch predictor events

13 years 10 months ago
Real-time unobtrusive program execution trace compression using branch predictor events
Unobtrusive capturing of program execution traces in real-time is crucial in debugging cyber-physical systems. However, tracing even limited program segments is often cost-prohibitive, requiring wide trace ports and large on-chip trace buffers. This paper introduces a new cost-effective technique for capturing and compressing program execution traces in real time. It uses branch predictor-like structures in the trace module to losslessly compress the traces. This approach results in high compression ratios because it only has to transmit misprediction events to the software debugger. Coupled with an effective variable encoding scheme, our technique requires merely 0.036 bits/instruction of trace port bandwidth (a 28-fold improvement over the commercial state-of-the-art) at a cost of roughly 5,200 logic gates. Categories and Subject Descriptors C.3 [Special-Purpose and Application-Based Systems]: Realtime and embedded systems; D.2.5: [Testing and Debugging]: Debugging aids, Tracing. E....
Vladimir Uzelac, Aleksandar Milenkovic, Martin Bur
Added 10 Feb 2011
Updated 10 Feb 2011
Type Journal
Year 2010
Where CASES
Authors Vladimir Uzelac, Aleksandar Milenkovic, Martin Burtscher, Milena Milenkovic
Comments (0)