adding session log

Change-Id: I3e1568f711ca1e863f8d912ba4598ac3ede5a46f
This commit is contained in:
Evgeny
2018-07-10 17:59:17 -05:00
parent 7ba92e192b
commit 013721eb62
3 changed files with 50 additions and 10 deletions
+2 -1
View File
@@ -259,7 +259,8 @@ PUBLIC_API bool OnLoad(HsaApiTable* table, uint64_t runtime_version, uint64_t fa
}
// Loading a tool lib and setting of intercept mode
intercept_mode = rocprofiler::LoadTool();
const bool intercept_mode_on = rocprofiler::LoadTool();
if (intercept_mode_on) intercept_mode = true;
// HSA intercepting
if (intercept_mode) {