mirror of
https://gitee.com/openharmony/hiviewdfx_hitrace
synced 2024-11-23 07:49:43 +00:00
!602 fix: ReadRawTrace正常的逻辑场景添加fsync
Merge pull request !602 from jiangwei/master
This commit is contained in:
commit
d024489ce9
@ -989,6 +989,7 @@ bool ReadRawTrace(std::string &outputFileName)
|
||||
WriteCmdlines(outFd, outPath) && WriteTgids(outFd, outPath) &&
|
||||
WriteHeaderPage(outFd, outPath) && WritePrintkFormats(outFd, outPath) &&
|
||||
WriteKallsyms(outFd)) {
|
||||
fsync(outFd);
|
||||
close(outFd);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user