platform_system_core/libbacktrace
Christopher Ferris 432981b905 Modify the offline handling interface.
- Add a new function Backtrace::UnwindOffline that takes the stack data.
- Modify BacktraceMap::CreateOffline so it doesn't take the stack data.
  This makes it easier to reuse the map object created this way.

Reusing the map object increases simpleperf speed (unwinds per second) by 50%.

Test: backtrace_test libunwindstack_test
Change-Id: I90cfbae9e50d95d8a0e3cd394b33ba36d65d45f7
2018-02-23 09:14:06 -08:00
..
include/backtrace Modify the offline handling interface. 2018-02-23 09:14:06 -08: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 Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08: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 Modify the offline handling interface. 2018-02-23 09:14:06 -08:00
UnwindStack.h Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
UnwindStackMap.cpp Modify the offline handling interface. 2018-02-23 09:14:06 -08:00
UnwindStackMap.h Modify the offline handling interface. 2018-02-23 09:14:06 -08:00