commit | 4f79dc80af28df78783c4b1a95ff44b195ffa353 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed May 09 18:25:25 2018 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon May 14 13:52:19 2018 -0700 |
tree | 712c3086cb8717696812f7d369118cd2b73a4b02 | |
parent | cddcbd92279ade0b42c88e16f8c9fd8116fe89b3 [diff] |
simpleperf: reimplement GetThreadMmapsInProcess. Use ReadProcessMaps in libprocinfo to: 1. Speed up reading map file from 3.5 ms to 1.3 ms when reading testdata/maps on walleye. It helps because JITDebugReader spends most time calling GetThreadMmapsInProcess. 2. Support parsing map names with space, which will be used to read dex files in apk files. Bug: http://b/79118393 Test: run simpleperf_unit_test. Change-Id: I7f5f554fbc403f3512b1ba2c9fa7147018107a5f