You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.stdio.error("generate perf sample data on server [{0}] failed".format(ssh_client.get_name()))
179
180
181
+
def__perf_checker(self, ssh_client):
182
+
cmd="command -v perf1"
183
+
result=ssh_client.exec_cmd(cmd)
184
+
185
+
ifresult:
186
+
self.stdio.verbose("perf is installed at [{0}] on server [{1}]".format(result, ssh_client.get_name()))
187
+
returnTrue
188
+
else:
189
+
self.stdio.error("perf is not installed on server [{0}]. gather perf information will be skipped. Please install perf manually. ".format(ssh_client.get_name()))
0 commit comments