Commit 58775dc9 authored by Florian Fischer's avatar Florian Fischer
Browse files

eval/perf: run perf on the host

parent c3f36957
Pipeline #73073 passed with stage
in 1 minute and 32 seconds
......@@ -77,6 +77,9 @@ class Server(subprocess.Popen):
perf_record_cmd = perf.PERF_RECORD_CMD.format(
pid=self.get_server_pid(), output=perf_record_out)
if remote_cmd:
perf_record_cmd = f'{remote_cmd} {perf_record_cmd}'
log.debug('start perf record process using: %s', perf_record_cmd)
self.perf_record_popen = subprocess.Popen(perf_record_cmd.split())
......@@ -92,6 +95,9 @@ class Server(subprocess.Popen):
if remote_cmd:
perf_stat_cmd = f'{remote_cmd} {perf_stat_cmd}'
log.debug('start perf stat process using: %s', perf_stat_cmd)
self.perf_stat_popen = subprocess.Popen(perf_stat_cmd.split())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment