From 75ecb35b61e7bc6cd32e33149ff53cdbd5d147a8 Mon Sep 17 00:00:00 2001 From: dongjiao Date: Tue, 3 Sep 2024 12:37:36 +0800 Subject: [PATCH] add pidstatinfo and subsarinfo --- kyreport/ky_report.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kyreport/ky_report.py b/kyreport/ky_report.py index 60d847a..71c203d 100644 --- a/kyreport/ky_report.py +++ b/kyreport/ky_report.py @@ -86,4 +86,8 @@ class KyReport: if os.path.exists(Config.get_output_path() + 'hotspotInfo.txt'): if os.path.getsize(Config.get_output_path() + 'hotspotInfo.txt'): info['hotspot_info'] = self.build_info(Config.get_output_path() + 'hotspotInfo.txt') + + info['common_cmd']['pidstatinfo'] = GlobalParameter().pidstat_cmd + info['common_cmd']['subsarinfo'] = GlobalParameter().sub_sarall + # ending menu info -- Gitee