diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-02 12:27:11 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-02 12:27:11 -0800 |
commit | 95ca017ce85ecdabe6e39275acfe9db736f97735 (patch) | |
tree | 693945fa7dd9ba4d1cae6777ea2a0d405c01437d /tools/profiling/microbenchmark/bm.py | |
parent | 39401798c36dbd29eef41e0ff06239435502c821 (diff) |
Fix perf cmdline
Diffstat (limited to 'tools/profiling/microbenchmark/bm.py')
-rwxr-xr-x | tools/profiling/microbenchmark/bm.py | 2 |
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']) |