MKtrace: An Innovative Debugging Tool for Multi-Threaded Programs on Multiprocessor Systems
Yusen Li, Feng Wang, Gang Wang et al. · Proceedings - Asia Pacific Software Engineering Conference/Proceedings · 2007
In this paper, we propose an innovative debugging tool called MKtrace to help programmers identify bugs in multi-threaded programs on multiprocessor systems with little overhead. Unlike the traditional debugging tools, we use the trace log to analyze the cause of a crash or any abnormal behaviour. Bugs can be identified within the log file, not directly at run time. Also, a key advantage of MKtrace is its insignificant overhead. The main idea of MKtrace is to monitor all the processes or threads from a program when they switch out in the kernel. We log the call stack of each thread, and then we analyze the log in the user space. We implemented MKtrace on Linux AS3 with two processors and achieved promising results during our experiments.
Cited by 1 works. doi:10.1109/apsec.2007.70
Authors
References
- Eraser
- Debugging Parallel Programs with Instant Replay
- Extended static checking
- Intrusion detection via static analysis
- Detecting BGP configuration faults with static analysis
- Debugging concurrent programs
- Anomaly detection using call stack information
- Supporting reverse execution for parallel programs
- Reproducible Testing of Concurrent Programs Based on Shared Variables.
- Concurrent bug patterns and how to test them