platform_system_core/libbacktrace
Christopher Ferris f4e3ff6619 Add a MemoryOfflineBuffer object.
Use this for offline stack data so that it's not necessary to
copy any data around.

Add unit tests for the new object.

Bug: 77258731
Bug: 74354410

Test: Ran libunwindstack/libbacktrace unit tests.
Change-Id: I9b0f25d9520c96e64aedef5f295423c60ddb3488
(cherry picked from commit 6633b0ca09)
2018-04-04 12:29:25 -07:00
..
include/backtrace Method to avoid skipping frames for local unwinds. 2018-03-27 11:12:41 -07:00
testdata Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
Android.bp bpfmt. 2018-02-16 17:58:14 -08:00
Backtrace.cpp Include the map name when dumping memory around a register. 2018-02-15 16:28:50 -08:00
backtrace_benchmarks.cpp Make sure at least XX maps are created. 2017-12-08 12:48:46 -08:00
backtrace_offline_test.cpp Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
backtrace_read_benchmarks.cpp Add method to detect remote read function to use. 2017-12-07 19:00:00 -08:00
backtrace_test.cpp Method to avoid skipping frames for local unwinds. 2018-03-27 11:12:41 -07:00
backtrace_testlib.cpp Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
backtrace_testlib.h Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
BacktraceAsyncSafeLog.h Use async safe logging in signal handlers. 2017-05-04 17:15:17 -07:00
BacktraceCurrent.cpp Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
BacktraceCurrent.h Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
BacktraceLog.h liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
BacktraceMap.cpp Include the map name when dumping memory around a register. 2018-02-15 16:28:50 -08:00
BacktracePtrace.cpp Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
BacktracePtrace.h Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
GetPss.cpp Fix misc-macro-parentheses warnings in adb, debuggerd, libbacktrace. 2016-05-18 15:53:15 -07:00
GetPss.h Create an UnwindMapLocal object. 2014-04-03 14:19:24 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
thread_utils.c Remove libbacktrace definition of gettid. 2015-05-13 13:44:34 -07:00
thread_utils.h Fix libbacktrace host build. 2015-12-07 20:09:24 -08:00
ThreadEntry.cpp Use async safe logging in signal handlers. 2017-05-04 17:15:17 -07:00
ThreadEntry.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
UnwindMap.cpp Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
UnwindMap.h Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
UnwindStack.cpp Method to avoid skipping frames for local unwinds. 2018-03-27 11:12:41 -07:00
UnwindStack.h Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
UnwindStackMap.cpp Add a MemoryOfflineBuffer object. 2018-04-04 12:29:25 -07:00
UnwindStackMap.h Add a MemoryOfflineBuffer object. 2018-04-04 12:29:25 -07:00