commit | e3ca9985c53ccc356d5de50bee3d384104d3c851 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Oct 16 13:16:26 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Oct 19 11:07:16 2020 -0700 |
tree | d650de4a2905c9c72e2533aac4a008f29e303e30 | |
parent | bc8a4a3be6c779c01555858b641214eec80bad85 [diff] |
simpleperf: add --cpu to filter cpus in report command. Also refactor report command to use PreprocessOptions(). Also refactor GetCpusFromString() to check input errors from the --cpu option. Also simplify return type of OptionValueMap::PullValues(), to reduce one block layer when using it. Bug: 160611908 Test: run simpleperf_unit_test. Change-Id: Ic6749909c73f448dd073ef5501834ef0afc341cb