summaryrefslogtreecommitdiff
path: root/simpleperf/testdata
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2019-03-01 19:03:41 -0800
committerYabin Cui <yabinc@google.com>2019-05-16 12:35:32 -0700
commita1cfa9375d9ddf7483f10f0a8d4843b3513e7315 (patch)
tree5c59c39fb515b813f6f7d8c209021056a2f4e8c9 /simpleperf/testdata
parent2d4c67d823bbe4723d413548329910a01b4fbf7d (diff)
downloadextras-a1cfa9375d9ddf7483f10f0a8d4843b3513e7315.tar.gz
simpleperf: fix unwinding libs embedded in apks.
The linker was modified so that a shared library has a read-only map, then a read-execute map to represent the whole shared library. It makes simpleperf fail at unwinding libs embedded in apks. Bug: none Test: run simpleperf_unit_test Change-Id: I38933ecdb68482cab2089ae2f3e9559ddae35ce9
Diffstat (limited to 'simpleperf/testdata')
-rw-r--r--simpleperf/testdata/data/app/simpleperf.demo.cpp_api/base.apkbin0 -> 1329667 bytes
-rw-r--r--simpleperf/testdata/perf_unwind_embedded_lib_in_apk.databin0 -> 215075 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/simpleperf/testdata/data/app/simpleperf.demo.cpp_api/base.apk b/simpleperf/testdata/data/app/simpleperf.demo.cpp_api/base.apk
new file mode 100644
index 00000000..0b2d5309
--- /dev/null
+++ b/simpleperf/testdata/data/app/simpleperf.demo.cpp_api/base.apk
Binary files differ
diff --git a/simpleperf/testdata/perf_unwind_embedded_lib_in_apk.data b/simpleperf/testdata/perf_unwind_embedded_lib_in_apk.data
new file mode 100644
index 00000000..8a7c54e3
--- /dev/null
+++ b/simpleperf/testdata/perf_unwind_embedded_lib_in_apk.data
Binary files differ