Title :
A novel low-overhead flexible instrumentation framework for virtual platforms
Author :
Carmel-Veilleux, Tennessee ; Boland, Jean-François ; Bois, Guy
Author_Institution :
Dept. of Electr. Eng., Ecole de Technol. Super., Montréal, QC, Canada
Abstract :
Instrumentation methods for code profiling, tracing and semihosting on virtual platforms (VP) and instruction-set simulators (ISS) rely on function call and system call interception. To reduce instrumentation overhead that can affect program behavior and timing, we propose a novel low-overhead flexible instrumentation framework called Virtual Platform Instrumentation (VPI). The VPI framework uses a new table-based parameter-passing method that reduces the runtime overhead of instrumentation to only that of the interception. Furthermore, it provides a high-level interface to extend the functionality of any VP or ISS with debugging support, without changes to their source code. Our framework unifies the implementation of tracing, profiling and semihosting use cases, while at the same time reducing detrimental runtime overhead on the target as much as 90% compared to widely deployed traditional methods, without significant simulation time penalty.
Keywords :
instruction sets; program debugging; virtual instrumentation; code profiling; debugging support; function call interception; instruction-set simulators; low-overhead flexible instrumentation framework; semihosting; system call interception; table-based parameter-passing method; tracing; virtual platform instrumentation; Debugging; Input variables; Instruments; Libraries; Payloads; Registers; Runtime; Computer simulation; Software debugging; Software prototyping; System-level design;
Conference_Titel :
Rapid System Prototyping (RSP), 2011 22nd IEEE International Symposium on
Conference_Location :
Karlsruhe
Print_ISBN :
978-1-4577-0658-5
Electronic_ISBN :
Pending
DOI :
10.1109/RSP.2011.5929981