aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-13 14:54:46 -0800
committerGravatar GitHub <noreply@github.com>2017-02-13 14:54:46 -0800
commit4e8b136faf01891d46f1112318bd51743999c0e5 (patch)
tree908ce29894ba1ba2896315c56d9c7fe7981d786c
parent5af59537bcae79ec21e2365908344febc5267e84 (diff)
parenta78871e4b33929b206188291bb989c034f3c1eab (diff)
Merge pull request #9695 from ctiller/no_tmp
Fix command line
-rwxr-xr-xtools/run_tests/run_microbenchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py
index 2a1b024695..0d56e4c355 100755
--- a/tools/run_tests/run_microbenchmark.py
+++ b/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']))