diff options
author | Yabin Cui <yabinc@google.com> | 2024-05-17 13:30:20 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2024-05-17 13:32:30 -0700 |
commit | 3a22c2e5ad5fe18326cc334fab4032da272cf11c (patch) | |
tree | 57dbd28356f780e47d07e75109a8caffe7c8e04b /systrace_analysis | |
parent | f3b1b8712ad41060570f4ff7930f8f169fc84742 (diff) | |
download | extras-3a22c2e5ad5fe18326cc334fab4032da272cf11c.tar.gz |
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
Diffstat (limited to 'systrace_analysis')
0 files changed, 0 insertions, 0 deletions