commit | b068c10dd95cd9cd73be7d29ed9a64e43a40519d | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Nov 01 17:53:10 2017 -0700 |
committer | Yabin Cui <yabinc@google.com> | Tue Nov 07 11:36:43 2017 -0800 |
tree | 828e3b3d0a7fb038dbf9b4c8b1e309ec395d8499 | |
parent | af6981959bca1506b43e0364de4238f15b4e863f [diff] |
simpleperf: fix reading kernel modules on Android. 1. Load kernel modules in specified places on Android. 2. Read the size of each loaded module from /proc/modules. 3. Adjust the way to find symbols in kernel/kernel modules accordingly. Bug: None. Test: run simpleperf record on walleye. Test: run simpleperf_unit_test. Change-Id: I6f6cac2734a94c70b5bbe7c5367966a0afa8efea