Lines Matching refs:os

134 void ThreadList::DumpNativeStacks(std::ostream& os) {  in DumpNativeStacks()  argument
138 os << "DUMPING THREAD " << thread->GetTid() << "\n"; in DumpNativeStacks()
139 DumpNativeStack(os, thread->GetTid(), map.get(), "\t"); in DumpNativeStacks()
140 os << "\n"; in DumpNativeStacks()
144 void ThreadList::DumpForSigQuit(std::ostream& os) { in DumpForSigQuit() argument
151 suspend_all_historam_.PrintConfidenceIntervals(os, 0.99, data); // Dump time to suspend. in DumpForSigQuit()
155 Dump(os, dump_native_stack); in DumpForSigQuit()
156 DumpUnattachedThreads(os, dump_native_stack && kDumpUnattachedThreadNativeStackForSigQuit); in DumpForSigQuit()
159 static void DumpUnattachedThread(std::ostream& os, pid_t tid, bool dump_native_stack) in DumpUnattachedThread() argument
163 Thread::DumpState(os, nullptr, tid); in DumpUnattachedThread()
165 DumpNativeStack(os, tid, nullptr, " native: "); in DumpUnattachedThread()
167 os << std::endl; in DumpUnattachedThread()
170 void ThreadList::DumpUnattachedThreads(std::ostream& os, bool dump_native_stack) { in DumpUnattachedThreads() argument
188 DumpUnattachedThread(os, tid, dump_native_stack); in DumpUnattachedThreads()
202 DumpCheckpoint(std::ostream* os, bool dump_native_stack) in DumpCheckpoint() argument
203 : os_(os), in DumpCheckpoint()
254 void ThreadList::Dump(std::ostream& os, bool dump_native_stack) { in Dump() argument
258 os << "DALVIK THREADS (" << list_.size() << "):\n"; in Dump()
261 DumpCheckpoint checkpoint(&os, dump_native_stack); in Dump()
272 DumpUnattachedThreads(os, dump_native_stack); in Dump()
1321 std::ostringstream os; in Unregister() local
1322 DumpNativeStack(os, GetTid(), nullptr, " native: ", nullptr); in Unregister()
1323 LOG(ERROR) << "Request to unregister unattached thread " << thread_name << "\n" << os.str(); in Unregister()