From 57a2788a3b0988ec49a592004caae2b090ece700 Mon Sep 17 00:00:00 2001 From: wenlong12 Date: Tue, 4 Jun 2024 19:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=81=AB=E7=84=B0=E5=9B=BE?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=97=AE=E9=A2=98=20Signed-off-by:wenlong12?= =?UTF-8?q?=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wenlong12 --- script/report.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/report.html b/script/report.html index b6a02dc..c171fec 100644 --- a/script/report.html +++ b/script/report.html @@ -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];