* Fix data race by syncing reader and writer * Address review comments [ROCm/rocprofiler-sdk commit: fc3eb4211d]
fc3eb4211d