fix stat pid not exist

Change-Id: I5303d76fbad7cab07289d28292efafe19a740488
Signed-off-by: leiguangyu <leiguangyu@huawei.com>
This commit is contained in:
leiguangyu 2024-11-13 11:01:07 +08:00
parent d2d4bd8745
commit a1be03b1c0

View File

@ -214,7 +214,8 @@ bool PerfFileWriter::Read(void *buf, size_t len)
return true;
}
void SetWriteRecordStat(bool isWrite){
void PerfFileWriter::SetWriteRecordStat(bool isWrite)
{
isWritingRecord = isWrite;
}