platform_system_core/libbacktrace
Yabin Cui 26369a3a01 libbacktraceoffline: make it thread-safe.
Make libbacktraceoffline thread-safe by protecting the global variable with
a lock. So it can be used in a multi-thread environment, like by
simpleperf inplace sampling.

Bug: http://b/30974760
Test: no
Change-Id: I4699bf15dfa69ac75faeb4e79a73fb3af0f08dfc
2017-02-13 10:35:06 -08:00
..
testdata libbacktraceoffline: choose correct debug section for a given address. 2017-02-10 17:51:16 -08:00
Android.bp Remove obsolete mentions of LLVM_HOST_BUILD_MK 2016-12-17 13:34:05 -08:00
Backtrace.cpp Don\'t demangle symbol names. am: fbbc744 am: 0edda64 am: 9bf0b81 2016-03-23 20:52:26 +00:00
BacktraceCurrent.cpp Add error reporting mechanism for failing Unwind. 2016-03-10 14:14:43 -08:00
BacktraceCurrent.h Discards frames for code within library. 2015-04-01 15:58:20 -07:00
BacktraceLog.h liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
BacktraceMap.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
BacktraceOffline.cpp libbacktraceoffline: make it thread-safe. 2017-02-13 10:35:06 -08:00
BacktraceOffline.h libbacktrace_offline: support .ARM.exidx. 2016-12-07 10:25:33 -08:00
BacktracePtrace.cpp Revert "Use process_vm_readv to read memory." 2016-11-10 23:19:30 +00:00
BacktracePtrace.h Refactor the code. 2015-03-31 10:51:44 -07: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
ThreadEntry.cpp Modify the code to avoid potential deadlocks. 2015-06-01 14:10:17 -07:00
ThreadEntry.h Modify the code to avoid potential deadlocks. 2015-06-01 14:10:17 -07:00
UnwindCurrent.cpp Add error reporting mechanism for failing Unwind. 2016-03-10 14:14:43 -08:00
UnwindCurrent.h Refactor the code. 2015-03-31 10:51:44 -07:00
UnwindMap.cpp Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
UnwindMap.h Fix google-explicit-constructor warnings in system/core. 2016-07-26 11:26:01 -07:00
UnwindPtrace.cpp Add error reporting mechanism for failing Unwind. 2016-03-10 14:14:43 -08:00
UnwindPtrace.h Refactor the code. 2015-03-31 10:51:44 -07:00
backtrace_offline_test.cpp libbacktraceoffline: choose correct debug section for a given address. 2017-02-10 17:51:16 -08:00
backtrace_test.cpp Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
backtrace_testlib.c libbacktrace_offline: support .ARM.exidx. 2016-12-07 10:25:33 -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