diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-13 14:54:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 14:54:46 -0800 |
commit | 4e8b136faf01891d46f1112318bd51743999c0e5 (patch) | |
tree | 908ce29894ba1ba2896315c56d9c7fe7981d786c | |
parent | 5af59537bcae79ec21e2365908344febc5267e84 (diff) | |
parent | a78871e4b33929b206188291bb989c034f3c1eab (diff) |
Merge pull request #9695 from ctiller/no_tmp
Fix command line
-rwxr-xr-x | tools/run_tests/run_microbenchmark.py | 2 |
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'])) |