commit | 9568429f98d565464b64b481df755d0c1a94b265 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Aug 15 10:21:36 2018 -0700 |
committer | Yabin Cui <yabinc@google.com> | Wed Aug 15 11:49:40 2018 -0700 |
tree | f1217a9c883e4cea37ead2b73d4df5dd9f478479 | |
parent | 5cf179122ecc8a9e3348362842802cc600466ca9 [diff] |
simpleperf: support pids in app_profiler.py. In app_profiler.py, add --pid option to monitor native processes, add --tid option to monitor native threads, add --system_wide option to monitor system wide. Switch inferno.py to use --pid option in app_profiler.py. Because the previous way of converting pid to program name doesn't work well on system_server process. Add tests in test.py. Bug: 112146809 Test: run test.py. Change-Id: Ifd6d9f50ed025f1aeed482cb92679de348f6af59