commit | daaed098d50a61b0fab0690604d809a316f333b8 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Aug 07 14:10:19 2023 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Aug 07 14:29:54 2023 -0700 |
tree | 3713ca76a34954c9e0339d1213c79f8724d9d63e | |
parent | ce002f91533f9520296ac63e36cac6213d2be53a [diff] |
simpleperf: Speed up disassembling many functions in a binary report_html.py disassembles each function separately. This is slow when there are thousands of functions, and we run llvm-objdump for each of them. So change to disassemble the whole binary and parse the result when needing to disassemble many functions in it. Bug: 294296070 Test: run test.py Test: run report_html.py disassembling libmonochrome_64.so Change-Id: I9fa05dc5ce11ac95ba71a82d5ceecb919ea90630