aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/profiling
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-02 12:27:11 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-02 12:27:11 -0800
commit95ca017ce85ecdabe6e39275acfe9db736f97735 (patch)
tree693945fa7dd9ba4d1cae6777ea2a0d405c01437d /tools/profiling
parent39401798c36dbd29eef41e0ff06239435502c821 (diff)
Fix perf cmdline
Diffstat (limited to 'tools/profiling')
-rwxr-xr-xtools/profiling/microbenchmark/bm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmark/bm.py b/tools/profiling/microbenchmark/bm.py
index a9277379c7..b4f0de841f 100755
--- a/tools/profiling/microbenchmark/bm.py
+++ b/tools/profiling/microbenchmark/bm.py
@@ -90,7 +90,7 @@ for bm_name in sys.argv[1:]:
'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', '-F', '99',
+ subprocess.check_call(['sudo', 'perf', 'record', '-g', '-c', '1000',
'bins/mutrace/%s' % bm_name,
'--benchmark_filter=^%s$' % line,
'--benchmark_min_time=20'])