diff options
| author | 2012-06-27 17:54:47 -0700 | |
|---|---|---|
| committer | 2012-06-27 17:56:07 -0700 | |
| commit | ed8b723c5f3989d2593ec21c65c96d6d8bf25579 (patch) | |
| tree | 4fd6fbbb708c66765a9209f5b3053be11bf787c9 /src | |
| parent | afe25515c358617321d69ab4f25003e3d905d613 (diff) | |
Disable dumping native stacks of unattached threads
Change-Id: I2023da6ff06faad8cf70b5acd614af3388d5ec06
Diffstat (limited to 'src')
| -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"; } |