mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-23 06:50:12 +00:00
修复profiler频繁打印日志问题
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
This commit is contained in:
parent
3e666fa31e
commit
3a90f7c9b9
@ -349,7 +349,7 @@ bool ShareMemoryBlock::TakeData(const DataHandler& func, bool isProtobufSerializ
|
||||
|
||||
auto size = GetDataSize();
|
||||
if (size == 0 || size > header_->info.memorySize_) {
|
||||
PROFILER_LOG_ERROR(LOG_CORE, "invalid size [%d]", size);
|
||||
PROFILER_LOG_DEBUG(LOG_CORE, "invalid size [%d]", size);
|
||||
return false;
|
||||
}
|
||||
auto ptr = GetDataPoint();
|
||||
|
Loading…
Reference in New Issue
Block a user