Home
last modified time | relevance | path

Searched refs:threadInfo_ (Results 1 - 9 of 9) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_thread.cpp50 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 Ddfx_stack_info_formatter.cpp101 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 Ddfx_unwind_remote.cpp57 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 Dprinter.cpp142 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 Ddfx_unwind_async_thread.cpp44 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 Ddfx_thread.h58 DfxThreadInfo threadInfo_; member in OHOS::HiviewDFX::DfxThread
H A Ddfx_process.cpp72 if ((keyThread_ != nullptr) && nstids[i] == keyThread_->threadInfo_.nsTid) { in InitOtherThreads()
134 if (thread->threadInfo_.nsTid == processInfo_.nsPid) { in Attach()
H A Dprocess_dumper.cpp505 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 Ddfx_processdump_test.cpp510 ins.process_->keyThread_->threadInfo_.threadName = ""; in HWTEST_F()

Completed in 6 milliseconds