A toolkit for tracing C/C++ program