DocumentCode :
2709976
Title :
MKtrace: An Innovative Debugging Tool for Multi-Threaded Programs on Multiprocessor Systems
Author :
Li, Yusen ; Wang, Feng ; Wang, Gang ; Liu, Xiaoguang ; Liu, Jing
Author_Institution :
Nankai Univ., Tianjin
fYear :
2007
fDate :
4-7 Dec. 2007
Firstpage :
510
Lastpage :
517
Abstract :
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.
Keywords :
multi-threading; program debugging; Linux AS3; MKtrace; multiprocessor systems; multithreaded program debugging; Computer bugs; Computer crashes; Debugging; Kernel; Linux; Monitoring; Multiprocessing systems; Programming profession; Switches; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2007. APSEC 2007. 14th Asia-Pacific
Conference_Location :
Aichi
ISSN :
1530-1362
Print_ISBN :
0-7695-3057-5
Type :
conf
DOI :
10.1109/ASPEC.2007.27
Filename :
4425894
Link To Document :
بازگشت