Format the code style of Tracing

Follow the LLVM style.
Remove the app-specific checkForNonHandlerThread()

This function was designed for MySQL application. We delete it to make
the code more general.