summaryrefslogtreecommitdiffstats
path: root/libutils/ProcessCallStack.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libutils: Don't segfault ProcessCallStack when getting thread name failsIgor Murashkin2014-08-191-0/+5
| | | | | | | | | | | | | There's an inherent race in trying to read out the thread name from the system and the thread closing out on its own (and thus being removed from procfs). Try to handle this by formatting the thread name unconditionally with the tid when getting the thread name fails (instead of dereferencing NULL and crashing). Bug: 15406837 Change-Id: Ibf2208b8ce345589e7e9c57e6a307728d1121c5d
* Move CallStack to libbacktrace.Christopher Ferris2013-11-061-6/+4
| | | | | | | Fix a small bug in the Printer for strings that didn't properly prepend the prefix. Change-Id: I33c63841ef6e07728ab3195886539d82b38ee19a
* utils: Fix broken sdk build on windowsIgor Murashkin2013-10-301-0/+2
| | | | | Bug: 11324229 Change-Id: Ia50e79b5e2430faea77b0c98902e8e018fb9ceff
* utils: Fix broken buildIgor Murashkin2013-10-301-0/+2
| | | | | Bug: 11324229 Change-Id: I7e4f514c5531e4c0c11bb0ba5d67e4dabbcd5792
* utils: Add ProcessCallStack to collect stack traces for all threads in a processIgor Murashkin2013-10-251-0/+256
- Also add a Printer class (print lines to logcat, fd, or strings) Bug: 11324229 Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3