DocumentCode
3221016
Title
On Time-Aware Instrumentation of Programs
Author
Fischmeister, Sebastian ; Lam, Patrick
Author_Institution
Dept. of Electr. & Comput. Eng., Univ. of Waterloo, Waterloo, ON
fYear
2009
fDate
13-16 April 2009
Firstpage
305
Lastpage
314
Abstract
Software instrumentation is a key technique in many stages of the development process. It is of particular importance for debugging embedded systems. Instrumented programs produce data traces which enable the developer to locate the origins of misbehaviours in the system under test. However, producing data traces incurs runtime overhead in the form of additional computation resources for capturing and copying the data. The instrumentation may therefore interfere with the system´s timing and perturb its behavior. In the worst case, this perturbation leads to new system behaviours that prevent the developer from locating the original misbehaviours. In this work, we propose an instrumentation technique for applications with temporal constraints, specifically targetting background/foreground systems. Our framework permits reasoning about space and time for software instrumentations. In particular, we propose a definition for trace reliability, which enables us to instrument real-time applications which aggressively push their time budgets. Using the framework, we present a method with low perturbation by optimizing the number of insertion points and trace buffer size for code size and time budgets. Finally, we apply the theory to a concrete case study and instrument the OpenEC firmware for the keyboard controller of the One Laptop Per Child project.
Keywords
embedded systems; program debugging; One Laptop Per Child project; OpenEC firmware; code size; data traces; embedded system debugging; insertion points; keyboard controller; software instrumentation; temporal constraints; time budgets; time-aware program instrumentation; trace buffer size; Application software; Concrete; Debugging; Embedded system; Instruments; Interference constraints; Optimization methods; Runtime; System testing; Timing;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time and Embedded Technology and Applications Symposium, 2009. RTAS 2009. 15th IEEE
Conference_Location
San Francisco, CA
ISSN
1545-3421
Print_ISBN
978-0-7695-3636-1
Type
conf
DOI
10.1109/RTAS.2009.26
Filename
4840591
Link To Document