Lines Matching refs:thread
87 headerInfo += "Fault thread info:\n";
88 DfxRingBufferWrapper::GetInstance().AppendMsg("Fault thread info:\n");
146 " current thread stack low address = %" PRIX64_ADDR ", probably caused by stack-buffer-overflow",
175 DfxRingBufferWrapper::GetInstance().AppendMsg("Other thread info:\n");
179 void Printer::PrintThreadHeaderByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread)
182 if (DfxConfig::GetConfig().displayBacktrace && thread != nullptr) {
184 thread->threadInfo_.tid, thread->threadInfo_.threadName.c_str());
185 headerInfo = "Tid:" + std::to_string(thread->threadInfo_.tid) +
186 ", Name:" + thread->threadInfo_.threadName + "\n";
217 void Printer::PrintThreadBacktraceByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread)
219 if (DfxConfig::GetConfig().displayBacktrace && thread != nullptr) {
220 const auto& frames = thread->GetFrames();
252 void Printer::PrintThreadRegsByConfig(std::shared_ptr<DfxThread> thread)
254 if (thread == nullptr) {
258 auto regs = thread->GetThreadRegs();
276 void Printer::PrintThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread,
280 if (process == nullptr || thread == nullptr) {
283 thread->InitFaultStack();
284 auto faultStack = thread->GetFaultStack();