Searched refs:nsTid (Results 1 - 6 of 6) sorted by relevance
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_thread.cpp | 37 std::shared_ptr<DfxThread> DfxThread::Create(pid_t pid, pid_t tid, pid_t nsTid) in Create() argument 39 auto thread = std::make_shared<DfxThread>(pid, tid, nsTid); in Create() 43 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid) : regs_(nullptr) in DfxThread() argument 45 InitThreadInfo(pid, tid, nsTid); in DfxThread() 48 void DfxThread::InitThreadInfo(pid_t pid, pid_t tid, pid_t nsTid) in InitThreadInfo() argument 52 threadInfo_.nsTid = nsTid; in InitThreadInfo() 116 DfxPtrace::Detach(threadInfo_.nsTid); in Detach() 127 if (!DfxPtrace::Attach(threadInfo_.nsTid, timeout)) { in Attach() 140 faultStack_ = std::make_shared<FaultStack>(threadInfo_.nsTid); in InitFaultStack() [all...] |
H A D | dfx_thread.h | 36 pid_t nsTid = 0; member 42 static std::shared_ptr<DfxThread> Create(pid_t pid, pid_t tid, pid_t nsTid); 43 DfxThread(pid_t pid, pid_t tid, pid_t nsTid); 67 void InitThreadInfo(pid_t pid, pid_t tid, pid_t nsTid);
|
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() local 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 | 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_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() 608 pid_t nsTid = request->tid; in InitKeyThread() local 609 pid_t tid = process_->ChangeTid(nsTid, true); in InitKeyThread() 610 process_->keyThread_ = DfxThread::Create(process_->processInfo_.pid, tid, nsTid); in InitKeyThread() 612 DFXLOGE("Failed to attach key thread(%{public}d).", nsTid); in InitKeyThread() 620 ptrace(PTRACE_CONT, process_->keyThread_->threadInfo_.nsTid, 0, 0); in InitKeyThread()
|
Completed in 4 milliseconds