From f625606219b6b7d642c2c34b64713f95e9773234 Mon Sep 17 00:00:00 2001 From: "jingshun.tq" <35712518+Teingi@users.noreply.github.com> Date: Mon, 16 Dec 2024 21:14:57 +0800 Subject: [PATCH] Update gather_perf.py --- src/handler/gather/gather_perf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler/gather/gather_perf.py b/src/handler/gather/gather_perf.py index 6418d74..394d71a 100644 --- a/src/handler/gather/gather_perf.py +++ b/src/handler/gather/gather_perf.py @@ -179,7 +179,7 @@ def __gather_perf_sample(self, ssh_client, gather_path, pid_observer): self.stdio.error("generate perf sample data on server [{0}] failed".format(ssh_client.get_name())) def __perf_checker(self, ssh_client): - cmd = "command -v perf1" + cmd = "command -v perf" result = ssh_client.exec_cmd(cmd) if result: