commit | 3a22c2e5ad5fe18326cc334fab4032da272cf11c | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri May 17 13:30:20 2024 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri May 17 13:32:30 2024 -0700 |
tree | 57dbd28356f780e47d07e75109a8caffe7c8e04b | |
parent | f3b1b8712ad41060570f4ff7930f8f169fc84742 [diff] |
simpleperf: inject: Fix a segfault error when parsing vmlinux data After change in aosp/3086621, addrs are changed when base_addr != 0. But they are still used to search in binary.range_count_map. This causes segfault error. Fix it by putting count values in the vector. Bug: 322399357 Test: run simpleperf_unit_test Test: run simpleperf manually Change-Id: I6f02f32288b870a4f758e1c8e28fec4b6e567467