mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
fix: 修改有误的代码
Signed-off-by: root <root@USER-20231012EH.localdomain>
This commit is contained in:
parent
e64ff03b8e
commit
ab8645f13f
@ -911,7 +911,7 @@ bool SubCommandRecord::PrepareVirtualRuntime()
|
||||
if (dedupStack_) {
|
||||
virtualRuntime_.SetDedupStack();
|
||||
auto collectSymbol = [this](PerfRecordSample *sample) {
|
||||
this->CollectSymbol((std::unique_ptr<PerfEventRecord>)sample, false);
|
||||
this->CollectSymbol(std::move(sample));
|
||||
};
|
||||
virtualRuntime_.SetCollectSymbolCallBack(collectSymbol);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user