aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-13 11:26:43 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-13 11:26:43 -0800
commit2607763272bb3f508869de550288198a2807bf35 (patch)
treebcc4e7fb27187e0a8a49bca9ce3508684d27aa7d /tools
parentd1307fe61101a0ad3a224bed2e10bbf4cd8173f6 (diff)
Add -o magicks
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_microbenchmark.py3
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'])