<  Back to the Polytechnique Montréal portal

Efficient large-scale heterogeneous debugging using dynamic tracing

Didier Nadeau, Naser Ezzati-Jivan and Michel Dagenais

Article (2019)

Open Access document in PolyPublie
Open Access to the full text of this document
Accepted Version
Terms of Use: Creative Commons Attribution Non-commercial No Derivatives
Download (882kB)
Show abstract
Hide abstract


Heterogeneous multi-core and many-core processors are increasingly common in personal computers and industrial systems. Efficient software development on these platforms needs suitable debugging tools, beyond traditional interactive debuggers. An alternative, to interactively follow the execution flow of a program, is tracing within the debugging environment, as long as the tracer has a minimal overhead. In this paper, the dynamic tracing infrastructure of GNU debugger (GDB) was investigated to understand its performance limitations. Thereafter, we propose an improved architecture for dynamic tracing on many-core processors within GDB, and demonstrate its scalability on highly parallel platforms. In addition, the scalability of the thread data collection and presentation component was studied and new views were proposed within the Eclipse Debugging Service Framework and the Trace Compass visualization tool. With these scalability enhancements, debuggers such as GDB can more efficiently help debugging multi-threaded programs on heterogeneous many-core processors composed of multi-core CPUs, and GPUs containing thousands of cores.

Uncontrolled Keywords

Debugging; Parallel; Heterogeneous; Multi-core; Scalability; Tracing; Dynamic instrumentation; Trace visualization; Trace compass; GDB; LTTng

Subjects: 2700 Information technology > 2700 Information technology
Department: Department of Computer Engineering and Software Engineering
Grant number: CRDPJ468687-14
PolyPublie URL: https://publications.polymtl.ca/3817/
Journal Title: Journal of Systems Architecture (vol. 98)
Publisher: Elsevier
DOI: 10.1016/j.sysarc.2019.02.016
Official URL: https://doi.org/10.1016/j.sysarc.2019.02.016
Date Deposited: 30 Apr 2019 13:57
Last Modified: 07 Apr 2024 04:21
Cite in APA 7: Nadeau, D., Ezzati-Jivan, N., & Dagenais, M. (2019). Efficient large-scale heterogeneous debugging using dynamic tracing. Journal of Systems Architecture, 98, 346-360. https://doi.org/10.1016/j.sysarc.2019.02.016


Total downloads

Downloads per month in the last year

Origin of downloads


Repository Staff Only

View Item View Item