diff options
author | 2017-02-13 11:26:43 -0800 | |
---|---|---|
committer | 2017-02-13 11:26:43 -0800 | |
commit | 2607763272bb3f508869de550288198a2807bf35 (patch) | |
tree | bcc4e7fb27187e0a8a49bca9ce3508684d27aa7d /tools | |
parent | d1307fe61101a0ad3a224bed2e10bbf4cd8173f6 (diff) |
Add -o magicks
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_microbenchmark.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py index fe901056c5..df0944d144 100755 --- a/tools/run_tests/run_microbenchmark.py +++ b/tools/run_tests/run_microbenchmark.py @@ -128,7 +128,8 @@ def collect_perf(bm_name, args): 'CONFIG=mutrace', '-j', '%d' % multiprocessing.cpu_count()]) for line in subprocess.check_output(['bins/mutrace/%s' % bm_name, '--benchmark_list_tests']).splitlines(): - subprocess.check_call(['sudo', 'perf', 'record', '-g', '-c', '1000', + subprocess.check_call(['sudo', 'perf', 'record', '-o', 'perf.data', + '-g', '-c', '1000', 'bins/mutrace/%s' % bm_name, '--benchmark_filter=^%s$' % line, '--benchmark_min_time=20']) |