summaryrefslogtreecommitdiff
path: root/simpleperf/testdata
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2018-04-11 11:17:06 -0700
committerYabin Cui <yabinc@google.com>2018-04-12 15:37:27 -0700
commitdd401b337b9d86c658e4551693b636d82f8e7b15 (patch)
tree0639a71d1f122b8c2104f80948f5b5232896b2b5 /simpleperf/testdata
parenta6ee510913c53783875a5512ff0d00a26b31eaad (diff)
downloadextras-dd401b337b9d86c658e4551693b636d82f8e7b15.tar.gz
simpleperf: fix reading dex files for unwinding while recording.
When simpleperf does unwinding while recording, it processes mmap records before reading dex file linked list (via JITDebugReader). To process mmap records, it creates Dso objects of type ELF_FILE. Then after reading dex file linked list, it realizes some ELF_FILE Dso should actually be DEX_FILE. So this patch supports converting Dso objects of type ELF_FILE into DEX_FILE when they have dex file offsets. Bug: http://b/73126888 Test: run simpleperf_unit_test. Test: run `simpleperf record -g --no-post-unwind` on an app. Change-Id: I580a382724b17c1396a7f52d7b3f5df45bcbcfb7
Diffstat (limited to 'simpleperf/testdata')
-rw-r--r--simpleperf/testdata/base.vdexbin0 -> 2046136 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/simpleperf/testdata/base.vdex b/simpleperf/testdata/base.vdex
new file mode 100644
index 00000000..b0ea0184
--- /dev/null
+++ b/simpleperf/testdata/base.vdex
Binary files differ