commit | dc1a475dd3a444a77937f4eaaedb749c82c13c14 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Feb 10 17:53:34 2020 -0800 |
committer | Yabin Cui <yabinc@google.com> | Wed Feb 12 13:16:16 2020 -0800 |
tree | a1dfc7d7becd36d0c811b3d3edf2e8b9df06559a | |
parent | 0e3245fdb39ccf2e8a5364084706ce5d6065c5a0 [diff] |
simpleperf: add test to app recording api. 1. Modify app_api code to work with new perf event limit in R. 2. Modify demo code to exit after recording. So they can be used to generate test apks directly. Use cpu-clock in demo code to pass presubmit test. 3. Add api tests in cmd_api_test.cpp. Bug: none Test: run simpleperf_unit_test. Change-Id: I37d786a2f6bdc2af1d807b91796484c58f309e2c