From a78871e4b33929b206188291bb989c034f3c1eab Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 13 Feb 2017 14:48:30 -0800 Subject: [PATCH] Fix command line --- tools/run_tests/run_microbenchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py index 2a1b0246958..0d56e4c3553 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']))