mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
修复火焰图脚本问题
Signed-off-by:wenlong12 <wenlong12@huawei.com> Signed-off-by: wenlong12 <wenlong12@huawei.com>
This commit is contained in:
parent
1b4d0e4256
commit
57a2788a3b
@ -4782,7 +4782,7 @@ input{
|
||||
this.panel.innerHTML = '';
|
||||
let processes = json.recordSampleInfo[window.eventIndex].processes;
|
||||
processes.slice(0).forEach(it => {
|
||||
it.threads.sort((a, b) => { return b.sampleCount - a.sampleCount });
|
||||
it.threads.sort((a, b) => { return b.eventCount - a.eventCount });
|
||||
it.threads.slice(0).forEach(th => {
|
||||
let pid = it.pid;
|
||||
let processName = json.processNameMap[it.pid];
|
||||
|
Loading…
Reference in New Issue
Block a user