History log of /system/core/libutils/ProcessCallStack.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
63fbdb6440ce5009ef0bfd3d1e1cc60b46004973 19-Aug-2014 Igor Murashkin <iam@google.com> libutils: Don't segfault ProcessCallStack when getting thread name fails

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
/system/core/libutils/ProcessCallStack.cpp
9b0e074c6d38143e01616404a08b0c7aa992f3c3 01-Nov-2013 Christopher Ferris <cferris@google.com> Move CallStack to libbacktrace.

Fix a small bug in the Printer for strings that didn't properly
prepend the prefix.

Change-Id: I33c63841ef6e07728ab3195886539d82b38ee19a
/system/core/libutils/ProcessCallStack.cpp
e65b7ea8801145626504c724c28aedd0e5038a28 31-Oct-2013 Igor Murashkin <iam@google.com> utils: Fix broken sdk build on windows

Bug: 11324229
Change-Id: Ia50e79b5e2430faea77b0c98902e8e018fb9ceff
/system/core/libutils/ProcessCallStack.cpp
81f2c3d2117cfe7307ee6efbd82567bd02950965 31-Oct-2013 Igor Murashkin <iam@google.com> utils: Fix broken build

Bug: 11324229
Change-Id: I7e4f514c5531e4c0c11bb0ba5d67e4dabbcd5792
/system/core/libutils/ProcessCallStack.cpp
ec79ef2e7b6b1d81266637ca0e002b5c0c5a789b 25-Oct-2013 Igor Murashkin <iam@google.com> utils: Add ProcessCallStack to collect stack traces for all threads in a process

- Also add a Printer class (print lines to logcat, fd, or strings)

Bug: 11324229
Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3
/system/core/libutils/ProcessCallStack.cpp