mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 00:51:47 +00:00
fix error
Signed-off-by: zyxzyx <zhangyixin19@huawei.com>
This commit is contained in:
parent
a0f5da061d
commit
f6f4a38dee
@ -239,7 +239,7 @@ int32_t NativeMemoryProfilerSaService::StartHook(std::shared_ptr<NativeMemoryPro
|
||||
CHECK_TRUE(fdTemp >= 0, RET_ERR, "Failed to open file(%s)", config->filePath_.c_str());
|
||||
fd = static_cast<uint32_t>(fdTemp);
|
||||
}
|
||||
std::shared_ptr<TraceFileWriter> writeFile = std::make_shared<TraceFileWriter>(fd);
|
||||
writeFile = std::make_shared<TraceFileWriter>(fd);
|
||||
CHECK_NOTNULL(writeFile, RET_ERR, "Failed to create TraceFileWriter");
|
||||
writeFile->SetTimeSource();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user