summaryrefslogtreecommitdiffstats
path: root/debuggerd/backtrace.c
Commit message (Collapse)AuthorAgeFilesLines
* Uploaded native crash dumps do not include memory contentsChristopher Tate2013-04-051-7/+8
| | | | | | | | | Also fixed the LOG() macro to actually write to the log again, tracking the change in _LOG() argument semantics. Bug 8322568 Change-Id: I79330c85c26d3ffb734315b6d0f2c0bb80bd234a
* debuggerd now notifies the Activity Manager about native crashesChristopher Tate2013-04-011-1/+2
| | | | | | | | | | | The Activity Manager sets up a permission-guarded domain socket, which debuggerd connects to when a crash happens. If this is successful, the daemon then mirrors the logged crash report to that socket, then closes it. Bug 8322568 Change-Id: Ife0c772a628ef82e8457094e511ce1edbfe57460
* Fix debuggerd's use of readdir_r(3).Elliott Hughes2012-10-261-4/+3
| | | | Change-Id: I1b178af054cefebfb774320e4b4699d6dc8bbb01
* Remove a stray newline in the backtrace output.Jeff Brown2012-06-081-1/+1
| | | | | Bug: 6615693 Change-Id: I1ac1746286afb77c3f5c4042c4592333ebb08a51
* Enhance native stack dumps.Jeff Brown2012-06-081-0/+149
Provides a new mechanism for dumpstate (while running as root) to request that debuggerd dump the stacks of native processes that we care about in bug reports. In this mode, the backtrace is formatted to look similar to a Dalvik backtrace. Moved the tombstone generating code into a separate file to make it easier to maintain. Fixed a bug where sometimes the stack traces would be incomplete because we were not waiting for each thread to stop after issuing PTRACE_ATTACH, only the main thread. So sometimes we were missing traces for some threads. Refactored the logging code to prevent accidentally writing data to logcat when explicitly dumping a tombstone or backtrace from the console. Only root or system server can request to dump backtraces but only root can dump tombstones. Bug: 6615693 Change-Id: Ib3edcc16f9f3a687e414e3f2d250d9500566123b