Fix command line

pull/9695/head
Craig Tiller 8 years ago
parent 5af59537bc
commit a78871e4b3
  1. 2
      tools/run_tests/run_microbenchmark.py

@ -134,7 +134,7 @@ def collect_perf(bm_name, args):
'--benchmark_filter=^%s$' % line,
'--benchmark_min_time=20'])
with open('bm.perf', 'w') as f:
f.write(subprocess.check_output(['sudo', 'perf', 'script']))
f.write(subprocess.check_output(['sudo', 'perf', 'script', '-i', 'perf.data']))
with open('bm.folded', 'w') as f:
f.write(subprocess.check_output([
'%s/stackcollapse-perf.pl' % flamegraph_dir, 'bm.perf']))

Loading…
Cancel
Save