@inproceedings{108, keywords = {debugging, embedded, monitoring, sampling, tracing}, author = {Johnson Thomas and Sebastian Fischmeister and Deepak Kumar}, title = {Lowering Overhead in Sampling-based Execution Monitoring and Tracing}, abstract = {
Debugging is an important phase in the embedded software development cycle because of its high proportion in the overall cost in the product development. Debugging is difficult for real-time applications as such programs are time-sensitive and must meet deadlines in often a resource constrained environment. A common approach for real-time systems is to monitor the execution instead of stepping through the program, because stepping will usually violate all deadline constraints. We consider a sampling-based approach for monitoring, because of its predictable overhead for the system compared to traditional monitoring. However, the sampling-based approach can easily have high overhead depending on the length of branches and the granularity of the monitoring effort. To reduce this overhead, we instrument the program with markers that will permit us to sample less frequently and thus reduce the overhead. This leads to the interesting problems of (a) where to place the markers in the code and (b) how to manipulate the markers. While related work investigates the first part, in this work, we investigate the second component of the problem. We investigate different instrumentation schemes and propose two new schemes based on bitvectors that significantly reduce the overhead for sampling-based execution monitoring.
}, year = {2011}, journal = {Proc. of the ACM SIGPLAN/SIGBED Conference on Languages, Compilers, Tools and Theory for Embedded Systems (LCTES)}, pages = {101-110}, address = {Chicago, USA}, isbn = {978-1-4503-0555-6}, url = {http://dl.acm.org/citation.cfm?id=1967692}, doi = {10.1145/1967677.1967692}, }