lib onload trace

This commit is contained in:
Evgeny
2019-12-05 18:08:17 -06:00
parent 76f85f8265
commit 9d37542470
2 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ THE SOFTWARE.
#define ONLOAD_TRACE(str) \
if (getenv("ROCP_ONLOAD_TRACE")) do { \
std::cout << "PID(" << GetPid() << "): TOOL::" << __FUNCTION__ << " " << str << std::endl << std::flush; \
std::cout << "PID(" << GetPid() << "): TRACER_TOOL::" << __FUNCTION__ << " " << str << std::endl << std::flush; \
} while(0);
#define ONLOAD_TRACE_BEG() ONLOAD_TRACE("begin")
#define ONLOAD_TRACE_END() ONLOAD_TRACE("end")