Merge pull request #9695 from ctiller/no_tmp

Fix command line
pull/9699/head
Craig Tiller 8 years ago committed by GitHub
commit 4e8b136faf
  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