summaryrefslogtreecommitdiffstats
path: root/libbacktrace
Commit message (Collapse)AuthorAgeFilesLines
...
* | am a6631bb3: am 3bcefc66: am 62f12bd9: Merge "Enable libunwind for mips."Christopher Ferris2014-02-261-1/+1
|\ \ | |/ | | | | | | * commit 'a6631bb38fbf77415592c10734710df8afa0deab': Enable libunwind for mips.
| * Enable libunwind for mips.Christopher Ferris2014-02-261-1/+1
| | | | | | | | Change-Id: Ib1d7bea0cb7ac09a9e15c7f429ecfd944649fc87
* | am ec04a8d4: am d90b11b6: am 13274a26: Merge "Fix logging errors inside ALOGV"Colin Cross2014-02-101-1/+2
|\ \ | |/ | | | | | | * commit 'ec04a8d45bc6b01c3c2cd4a3064d194f7beeb386': Fix logging errors inside ALOGV
| * Fix logging errors inside ALOGVColin Cross2014-02-071-1/+2
| | | | | | | | | | | | Fix errors exposed by adding checking to disabled ALOGVs. Change-Id: I36b77bb0ad8dc7661b0f834f20d1179b86134d57
* | am 10c2607c: am 77b23023: am 3faf86c0: Merge "Call a specialized local map set."Christopher Ferris2014-02-031-3/+3
|\ \ | |/ | | | | | | * commit '10c2607c3cc4903ca8dcbe2245f66d21af199865': Call a specialized local map set.
| * Call a specialized local map set.Christopher Ferris2014-02-011-3/+3
| | | | | | | | | | Bug: 12852152 Change-Id: I8a0c558bc218805b0e06371af0af055e4aa6e0bb
* | am 5127626b: am 3133a4a2: am 0fdf0dc7: Merge "Refactor makefile."Christopher Ferris2014-01-312-220/+176
|\ \ | |/ | | | | | | * commit '5127626b4a7d998a75d366bf1128be91c6047dc0': Refactor makefile.
| * Refactor makefile.Christopher Ferris2014-01-312-220/+176
| | | | | | | | | | | | | | With this change allow the creation of host backtrace libraries using libunwind. Change-Id: Ie48bb36cf0d2eccf94cb8ff516d829d8032f11f2
* | am fe0d5d42: am 5434bf66: Merge "LP64: Enable debuggerd/libbacktrace/libunwind."Elliott Hughes2014-01-314-15/+12
|\ \ | |/ | | | | | | * commit 'fe0d5d42e4ca8b77d6a0657be1b8b6343c21d689': LP64: Enable debuggerd/libbacktrace/libunwind.
| * LP64: Enable debuggerd/libbacktrace/libunwind.Pavel Chupin2014-01-304-15/+12
| | | | | | | | | | Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | am e5734557: am caefe564: Merge "x86: Enable libunwind"Elliott Hughes2014-01-311-1/+1
|\ \ | |/ | | | | | | * commit 'e5734557d962c801375eeee600e89c98d65dd976': x86: Enable libunwind
| * x86: Enable libunwindPavel Chupin2014-01-301-1/+1
| | | | | | | | | | Change-Id: I098787f57801f68d0419732d5fd475c7e916c92c Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | am cbe55724: am 7957529d: Merge "Clean up UnwindCurrent.cpp\'s use of ↵Christopher Ferris2014-01-311-21/+2
|\ \ | |/ | | | | | | | | | | ucontext.h." * commit 'cbe55724c8211c9c06362cebff0a262197dbc351': Clean up UnwindCurrent.cpp's use of ucontext.h.
| * Clean up UnwindCurrent.cpp's use of ucontext.h.Christopher Ferris2014-01-301-21/+2
| | | | | | | | Change-Id: I9eff7486b9fe89eac57b5555649b871bc6f1cc77
* | am c9869057: am 1ca10eab: Merge "Avoid redefinition of __STDC_FORMAT_MACROS."Ian Rogers2014-01-311-1/+0
|\ \ | |/ | | | | | | * commit 'c98690576ab6d7d13e5c0d3387db8149de71d9de': Avoid redefinition of __STDC_FORMAT_MACROS.
| * Avoid redefinition of __STDC_FORMAT_MACROS.Ian Rogers2014-01-291-1/+0
| | | | | | | | Change-Id: I5c65ea196bb9a197a74899ceb53543f289f6d494
* | am ab2de415: am 773c9ab7: am c96c2954: am a152ed73: Merge "Fix global ↵Christopher Ferris2014-01-291-3/+3
|\ \ | |/ | | | | | | | | | | pointing to local variable." * commit 'ab2de41574d15bac8c3ef8f49cfba493ea501a0a': Fix global pointing to local variable.
| * Fix global pointing to local variable.Christopher Ferris2014-01-281-3/+3
| | | | | | | | Change-Id: I933cbb680ca6310c13634f09a9827077c8dbd568
* | am 36a4e408: am aaf89887: am 6fe31b2f: am d391c9b4: Merge "Re-enable ↵Christopher Ferris2014-01-2915-102/+287
|\ \ | |/ | | | | | | | | | | libunwind for arm." * commit '36a4e4085e55048ee2a78c7d5b50f7395e547fa2': Re-enable libunwind for arm.
| * Re-enable libunwind for arm.Christopher Ferris2014-01-2815-102/+287
| | | | | | | | | | | | | | | | | | | | Update to handle the new optimized way that libunwind works. In addition, a small refactor of the BacktraceMap code. A few new tests of for good measure. Change-Id: I2f9b4f5ad5a0dfe907b31febee76e4b9b94fb76f
* | am 8d12b4a0: am 4fe48966: am 57c9b95b: am 39baa829: Merge "Get arm64 to ↵Christopher Ferris2014-01-272-3/+2
|\ \ | |/ | | | | | | | | | | compile." * commit '8d12b4a0901df4ab708243b4cd36c19ac2002a50': Get arm64 to compile.
| * Get arm64 to compile.Christopher Ferris2014-01-272-3/+2
| | | | | | | | Change-Id: Ica021aa134388fe7069a5de5df8036ecf0d570f8
* | am 9222d911: am c8518616: am 02f68c4b: am 4800e20e: Merge "system/core: ↵Colin Cross2014-01-241-2/+2
|\ \ | |/ | | | | | | | | | | rename aarch64 target to arm64" * commit '9222d911a89d30a9b0537e8cdb95401be3a4999e': system/core: rename aarch64 target to arm64
| * system/core: rename aarch64 target to arm64Colin Cross2014-01-231-2/+2
| | | | | | | | | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* | am f95d880f: am 884116c8: am 719b0198: am 1db584b8: Merge "Attempt to fix ↵Christopher Ferris2014-01-181-1/+1
|\ \ | |/ | | | | | | | | | | Mac build" * commit 'f95d880fe7e9a8860038a5c8391b89cfbeb0ce76': Attempt to fix Mac build
| * Attempt to fix Mac buildBrian Carlstrom2014-01-181-1/+1
| | | | | | | | Change-Id: I1364255bfed7788a35531962508bad804b8d5b7f
* | resolved conflicts for merge of 47fa9064 to masterChristopher Ferris2014-01-1713-338/+412
|\ \ | |/ | | | | Change-Id: I53fb8ff2dfbefe6246385e624c5c3525cc6f4253
| * Rewrite libbacktrace to be all C++.Christopher Ferris2014-01-1614-511/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | This includes removing the map_info.c source and replacing it with the BacktraceMap class to handle all map related code. Change all callers of libbacktrace map functionality. Also modify the corkscrew thread code so that it doesn't need to build the map twice (once in the corkscrew format and once in the libbacktrace format). Change-Id: I32865a39f83a3dd6f958fc03c2759ba47d12382e
* | am 7dee721e: am 42e82f80: am 4a8996fb: am 3352c503: Merge "Copy the bionic ↵Elliott Hughes2014-01-151-0/+5
|\ \ | |/ | | | | | | | | | | -fstack-protector hack into libbacktrace." * commit '7dee721eb3387fff695e5b5a3480428bccb3cf70': Copy the bionic -fstack-protector hack into libbacktrace.
| * Copy the bionic -fstack-protector hack into libbacktrace.Elliott Hughes2014-01-141-0/+5
| | | | | | | | | | | | aarch64 doesn't support -fstack-protector yet. Change-Id: Id1e589742ba074f59d3390d059248c9b371aff58
* | am 117e93a7: am 2c3b9a44: am d9cb2964: am 91e2019f: Merge "Create a bare ↵Christopher Ferris2014-01-143-16/+34
|\ \ | |/ | | | | | | | | | | bones host libbacktrace on mac." * commit '117e93a7208d028ccbc444aad8bd5ad250459c67': Create a bare bones host libbacktrace on mac.
| * Create a bare bones host libbacktrace on mac.Christopher Ferris2014-01-133-16/+34
| | | | | | | | | | | | | | This allows the libbacktrace library to compile for host on mac. Bug: 12474939 Change-Id: I32cbcf996e6fe9057e5065ba21f89086343704a0
* | resolved conflicts for merge of 8791ee5c to masterChristopher Ferris2014-01-135-183/+158
|\ \ | |/ | | | | Change-Id: I107bb055941809331c451c1d903f231f07a86ece
| * Next phase of the move, reformat use C++ features.Christopher Ferris2014-01-135-183/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the libbacktrace C++ interface instead of the C interface in debuggerd. Reformat the debuggerd code to be closer to Google C++ style. Fix all debuggerd casts to be C++ casts. Add a frame number to the frame data structure for ease of formatting and add another FormatFrameData function. Change the format_test to use the new FormatFrameData function. Modify all of the backtrace_test to use the C++ interface. Change-Id: I10e1610861acf7f4a3ad53276b74971cfbfda464
| * Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.Christopher Ferris2014-01-092-14/+21
| | | | | | | | | | | | | | | | | | | | | | Use a bit better name for this. The other name was a bit confusing. Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac (cherry picked from commit 242b1a8c7a5ec73172bac811e51acbc27201f22c) Conflicts: libbacktrace/Backtrace.cpp
* | resolved conflicts for merge of 72f204de to masterChristopher Ferris2014-01-087-38/+52
|\ \ | |/ | | | | Change-Id: I7345014d00c669aea5e27ea50b2ac658145b068b
| * Refactor to share map_info amongst threads.Christopher Ferris2014-01-087-38/+52
| | | | | | | | | | | | | | Allow the use of the same map info to be shared when getting information on multiple threads from the same pid. Change-Id: I2e460e20154a10f4894ae563331fb32179e4551f
* | am 0298da56: am 492b0ca4: am 1e424d8e: am 0afaf7f4: Merge "Fix the ucontext ↵Christopher Ferris2014-01-071-15/+4
|\ \ | |/ | | | | | | | | | | for mips/x86." * commit '0298da56f410ba0f6a1f1f44deb8e2224f9fc49d': Fix the ucontext for mips/x86.
| * Fix the ucontext for mips/x86.Christopher Ferris2014-01-071-15/+4
| | | | | | | | | | | | | | | | | | | | | | Remove the mips ucontext definition, there is no need for it any more. Fix the mips/x86 ucontext copy code to copy the entire uc_mcontext data across. Fix a potential memory leak too. Change-Id: I4272022da5281ed881e2d59a3e19e7f33c01aceb
* | am 3e30f6af: am 090928b1: am a345b253: am dfc48139: Merge "Switch ARM back ↵Elliott Hughes2014-01-021-2/+5
|\ \ | |/ | | | | | | | | | | to libcorkscrew temporarily." * commit '3e30f6afa042f3bba4822dc5d1ef267ed4b9d722': Switch ARM back to libcorkscrew temporarily.
| * Switch ARM back to libcorkscrew temporarily.Elliott Hughes2014-01-021-2/+5
| | | | | | | | | | | | | | | | We're seeing major stack trace generation performance regression and want to find out whether it's libunwind. Bug: 12181612 Change-Id: I3866ea956859f5cbdfe4f1ee6f20a2b6d39962c4
* | Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.Christopher Ferris2013-11-122-14/+21
| | | | | | | | | | | | Use a bit better name for this. The other name was a bit confusing. Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac
* | am 90e67bcd: am d36bfc30: am e6279294: Merge "Revert "Revert enabling ↵Christopher Ferris2013-11-071-1/+1
|\ \ | |/ | | | | | | | | | | libunwind."" * commit '90e67bcdc383d552dc5325039c86b5bef5429b05': Revert "Revert enabling libunwind."
| * Revert "Revert enabling libunwind."Christopher Ferris2013-11-081-1/+1
| | | | | | | | | | | | This reverts commit db2309e3d104e47088135a7f1bb89ac853657838. Change-Id: I1626442f029473066ce20921667a406f1a1ea865
* | am 8ddd08b1: am 4ae94541: am 62ea993a: Merge "Revert enabling libunwind."Elliott Hughes2013-11-071-1/+1
|\ \ | |/ | | | | | | * commit '8ddd08b1f24d361ace9cd78198664db4bf7e1325': Revert enabling libunwind.
| * Revert enabling libunwind.Christopher Ferris2013-11-071-1/+1
| | | | | | | | | | | | It appears that some branches might not have libunwind set up properly. Change-Id: Ia72889e115bc2791c7a9e67563c5f4a62197cafd
* | am c3920dee: am 11d04d04: am 351b0123: Merge "Enable libunwind on arm ↵Christopher Ferris2013-11-071-1/+1
|\ \ | |/ | | | | | | | | | | platforms." * commit 'c3920dee104856025f9416670efd7f05d1acd3a0': Enable libunwind on arm platforms.
| * Enable libunwind on arm platforms.Christopher Ferris2013-11-061-1/+1
| | | | | | | | | | Bug: 8410085 Change-Id: I8a645ec0e04b38fc186bbc0f0cc597e31b05cc55
* | am dee1842d: am adbb3352: am a2d1469c: Merge "Use new defines in test code."Christopher Ferris2013-11-052-17/+15
|\ \ | |/ | | | | | | * commit 'dee1842d2f6861dd4cb2d622992ec2c75f19ab3e': Use new defines in test code.
| * Use new defines in test code.Christopher Ferris2013-11-052-17/+15
| | | | | | | | | | | | | | In addition, fix up the warnings and remove the -fpermissive when compiling. Change-Id: Ia27b902499b34ff3d881acb9057120af390baf2c