diff options
| author | 2012-06-27 18:33:59 -0700 | |
|---|---|---|
| committer | 2012-06-27 18:33:59 -0700 | |
| commit | e867a11bc32009d4ed76d404e3fbd2077a8335e5 (patch) | |
| tree | 7a8de79833255dcf011a872c0411912b53f9eae8 | |
| parent | 4d7d723ffc4d9ee1861749ed978b12626c33dc53 (diff) | |
| parent | ed8b723c5f3989d2593ec21c65c96d6d8bf25579 (diff) | |
am ed8b723c: Disable dumping native stacks of unattached threads
* commit 'ed8b723c5f3989d2593ec21c65c96d6d8bf25579':
Disable dumping native stacks of unattached threads
| -rw-r--r-- | src/thread_list.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/thread_list.cc b/src/thread_list.cc index 186ddbc93e..ae744208bd 100644 --- a/src/thread_list.cc +++ b/src/thread_list.cc @@ -75,7 +75,11 @@ void ThreadList::DumpForSigQuit(std::ostream& os) { static void DumpUnattachedThread(std::ostream& os, pid_t tid) { Thread::DumpState(os, NULL, tid); DumpKernelStack(os, tid, " kernel: ", false); - DumpNativeStack(os, tid, " native: ", false); + // TODO: Reenable this when the native code in system_server can handle it. + // Currently "adb shell kill -3 `pid system_server`" will cause it to exit. + if (false) { + DumpNativeStack(os, tid, " native: ", false); + } os << "\n"; } |