commit | 16501ffbd73483c498dde1ea4ad2670da7c9df55 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Oct 19 15:06:29 2016 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Nov 10 15:38:58 2016 -0800 |
tree | 3c7c3a7f69ff65a7b984a93a3b96818f4f5acf7f | |
parent | f94f3d3d43aaaec680fffa43b12eaa7d6c83d98a [diff] |
simpleperf: use file records in protobuf output. Dump file name and symbol name for each CallChainEntry takes too much space. So instead we store file_id and symbol_id for each CallChainEntry, and store file records separately. In CallChainEntry, replace ip with vaddr_in_file, because vaddr_in_file is more useful in finding instructions in elf file. Bug: http://b/32210800 Test: simpleperf_unit_test. Change-Id: I85542db21acbaa4d81b3c3aa7f9215f2d23c4878