A toolkit for tracing C/C++ programe