Searched refs:threadInfo_ (Results 1 - 9 of 9) sorted by relevance
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_thread.cpp | 50 threadInfo_.pid = pid; in InitThreadInfo() 51 threadInfo_.tid = tid; in InitThreadInfo() 52 threadInfo_.nsTid = nsTid; in InitThreadInfo() 53 ReadThreadNameByPidAndTid(threadInfo_.pid, threadInfo_.tid, threadInfo_.threadName); in InitThreadInfo() 88 std::string ss = "Thread name:" + threadInfo_.threadName + "\n"; in ToString() 116 DfxPtrace::Detach(threadInfo_.nsTid); in Detach() 127 if (!DfxPtrace::Attach(threadInfo_.nsTid, timeout)) { in Attach() 140 faultStack_ = std::make_shared<FaultStack>(threadInfo_ in InitFaultStack() [all...] |
H A D | dfx_stack_info_formatter.cpp | 101 exception["thread_name"] = process_->keyThread_->threadInfo_.threadName; in GetNativeCrashInfo() 102 exception["tid"] = process_->keyThread_->threadInfo_.tid; in GetNativeCrashInfo() 124 thread["thread_name"] = process_->keyThread_->threadInfo_.threadName; in GetDumpInfo() 125 thread["tid"] = process_->keyThread_->threadInfo_.tid; in GetDumpInfo() 188 threadJson["thread_name"] = oneThread->threadInfo_.threadName; in AppendThreads() 189 threadJson["tid"] = oneThread->threadInfo_.tid; in AppendThreads()
|
H A D | dfx_unwind_remote.cpp | 57 pid_t tid = thread->threadInfo_.nsTid; in GetThreadKernelStack() 110 pid_t nsTid = process->keyThread_->threadInfo_.nsTid; in UnwindProcess() 111 process->keyThread_->threadInfo_.nsTid = vmPid; // read registers from vm process in UnwindProcess() 113 process->keyThread_->threadInfo_.nsTid = nsTid; in UnwindProcess() 196 pid_t tid = thread->threadInfo_.nsTid; in UnwindOtherThread() 253 thread->SetThreadRegs(DfxRegs::CreateRemoteRegs(thread->threadInfo_.nsTid)); in InitOtherThreadRegs()
|
H A D | printer.cpp | 142 std::string elfName = StringPrintf("[anon:stack:%d]", process->keyThread_->threadInfo_.tid); in PrintReason() 184 thread->threadInfo_.tid, thread->threadInfo_.threadName.c_str()); in PrintThreadHeaderByConfig() 185 headerInfo = "Tid:" + std::to_string(thread->threadInfo_.tid) + in PrintThreadHeaderByConfig() 186 ", Name:" + thread->threadInfo_.threadName + "\n"; in PrintThreadHeaderByConfig()
|
H A D | dfx_unwind_async_thread.cpp | 44 pid_t tid = thread_->threadInfo_.nsTid; in UnwindStack() 71 LockParser::ParseLockInfo(unwinder_, tmpPid, thread_->threadInfo_.nsTid); in UnwindStack() 101 size_t byte = DfxMemory::ReadProcMemByPid(thread_->threadInfo_.nsTid, map->begin, tableData->data(), size); in GetSubmitterStack()
|
H A D | dfx_thread.h | 58 DfxThreadInfo threadInfo_; member in OHOS::HiviewDFX::DfxThread
|
H A D | dfx_process.cpp | 72 if ((keyThread_ != nullptr) && nstids[i] == keyThread_->threadInfo_.nsTid) { in InitOtherThreads() 134 if (thread->threadInfo_.nsTid == processInfo_.nsPid) { in Attach()
|
H A D | process_dumper.cpp | 505 if (thread->threadInfo_.nsTid == tid) { in Unwind() 598 process_->vmThread_->threadInfo_.threadName = std::string(request->threadName); in InitVmThread() 620 ptrace(PTRACE_CONT, process_->keyThread_->threadInfo_.nsTid, 0, 0); in InitKeyThread() 627 if ((process_->keyThread_ != nullptr) && process_->keyThread_->threadInfo_.threadName.empty()) { in InitKeyThread() 628 process_->keyThread_->threadInfo_.threadName = std::string(request->threadName); in InitKeyThread() 661 unwinder_ = std::make_shared<Unwinder>(process_->vmThread_->threadInfo_.pid); in InitUnwinder()
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | dfx_processdump_test.cpp | 510 ins.process_->keyThread_->threadInfo_.threadName = ""; in HWTEST_F()
|
Completed in 5 milliseconds