Change obj_map_ from pointer to object

Change-Id: Ibc2fb8812c34b44d7b59275f2850bb127b9def7c
This commit is contained in:
Chun Yang
2021-07-20 00:06:34 -07:00
parent e2be50634e
commit 55fdd451f3
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ InterceptQueue::mutex_t InterceptQueue::mutex_;
rocprofiler_queue_callbacks_t InterceptQueue::callbacks_ = {};
void* InterceptQueue::callback_data_ = NULL;
std::atomic<rocprofiler_callback_t> InterceptQueue::dispatch_callback_{NULL};
InterceptQueue::obj_map_t* InterceptQueue::obj_map_ = NULL;
InterceptQueue::obj_map_t InterceptQueue::obj_map_{};
const char* InterceptQueue::kernel_none_ = "";
Tracker* InterceptQueue::tracker_ = NULL;
bool InterceptQueue::tracker_on_ = false;