Title :
On the existence of probe effect in multi-threaded embedded programs
Author :
Young Wn Song ; Yann-Hang Lee
Author_Institution :
Comput. Sci. & Eng., Arizona State Univ., Tempe, AZ, USA
Abstract :
Software instrumentation has been a convenient and portable approach for dynamic analysis, debugging, or profiling of program execution. Unfortunately, instrumentation may change the temporal behavior of multi-threaded program execution and result in different ordering of thread operations, which is called probe effect. While the approaches to reduce instrumentation overhead, to enable reproducible execution, and to enforce deterministic threading have been studied, no research has yet answered if an instrumented execution has the same behavior as the program execution without any instrumentation and how the execution gets changed if there were any. In this paper, we propose a simulation-based analysis to detect the changes of execution event ordering that are induced by instrumentation operations. The execution model of a program is constructed from the trace of instrumented program execution and is used in a simulation analysis where instrumentation overhead is removed. As a consequence, we can infer the ordering of events in the original program execution and verify the existence of probe effect resulted from instrumentation.
Keywords :
embedded systems; multi-threading; program debugging; program diagnostics; deterministic threading; dynamic analysis; instrumentation overhead; multithreaded embedded programs; multithreaded program execution profiling; probe effect; simulation-based analysis; software debugging; software instrumentation; thread operations; Analytical models; Clocks; Instruction sets; Message systems; Probes; Timing; event ordering; multi-threaded program; probe effect; profiling; reproducible execution; software instrumentation;
Conference_Titel :
Embedded Software (EMSOFT), 2014 International Conference on
Conference_Location :
Jaypee Greens
DOI :
10.1145/2656045.2656062