diff options
author | Christopher Ferris <cferris@google.com> | 2020-04-14 11:59:15 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2020-04-15 14:03:21 -0700 |
commit | 8f9438cc617093771497176c843fa586f3932404 (patch) | |
tree | baf892108bf14841b675397909f30cb70c676afa /libunwindstack/Android.bp | |
parent | da823b54c22727a6adfb10046589df9e296729f3 (diff) | |
download | unwinding-8f9438cc617093771497176c843fa586f3932404.tar.gz |
Add benchmarks for symbol reading.
Add a number of benchmarks to time how long it takes to look
up symbols.
Test: Ran benchmarks on device.
Change-Id: Iab7aab3f60c2c7056395beca3d36263420bcb5dc
Diffstat (limited to 'libunwindstack/Android.bp')
-rw-r--r-- | libunwindstack/Android.bp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp index 9afc9a3..ab59a4b 100644 --- a/libunwindstack/Android.bp +++ b/libunwindstack/Android.bp @@ -373,12 +373,26 @@ cc_benchmark { srcs: [ "benchmarks/unwind_benchmarks.cpp", + "benchmarks/SymbolBenchmark.cpp", + ], + + data: [ + "benchmarks/files/*", ], shared_libs: [ "libbase", "libunwindstack", ], + + target: { + android: { + static_libs: [ + "libmeminfo", + "libprocinfo", + ], + }, + }, } // Generates the elf data for use in the tests for .gnu_debugdata frames. |