Home
last modified time | relevance | path

Searched refs:threadInfo_ (Results 1 – 6 of 6) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_thread.cpp49 threadInfo_.pid = pid; in InitThreadInfo()
50 threadInfo_.tid = tid; in InitThreadInfo()
51 threadInfo_.nsTid = nsTid; in InitThreadInfo()
52 ReadThreadName(threadInfo_.tid, threadInfo_.threadName); in InitThreadInfo()
88 ss << "Thread name:" << threadInfo_.threadName << "" << std::endl; in ToString()
101 ptrace(PTRACE_CONT, threadInfo_.nsTid, 0, 0); in Detach()
102 ptrace(PTRACE_DETACH, threadInfo_.nsTid, NULL, NULL); in Detach()
113 if (ptrace(PTRACE_SEIZE, threadInfo_.nsTid, 0, 0) != 0) { in Attach()
115 threadInfo_.tid, threadInfo_.nsTid, getuid(), getgid(), errno); in Attach()
119 if (ptrace(PTRACE_INTERRUPT, threadInfo_.nsTid, 0, 0) != 0) { in Attach()
[all …]
Dprinter.cpp92 thread->threadInfo_.tid, thread->threadInfo_.threadName.c_str()); in PrintThreadHeaderByConfig()
101 DFXLOG_WARN("Tid:%d frame is null", thread->threadInfo_.tid); in PrintThreadBacktraceByConfig()
123 auto faultstack = std::unique_ptr<FaultStack>(new FaultStack(thread->threadInfo_.nsTid)); in PrintThreadFaultStackByConfig()
Dprocess_dumper.cpp170 process_->vmThread_->threadInfo_.threadName = std::string(request->threadName); in InitProcessInfo()
189 if (process_->keyThread_->threadInfo_.threadName.empty()) { in InitProcessInfo()
190 process_->keyThread_->threadInfo_.threadName = std::string(request->threadName); in InitProcessInfo()
Ddfx_thread.h54 DfxThreadInfo threadInfo_; variable
Ddfx_unwind_remote.cpp80 unw_set_target_pid(as_, process->vmThread_->threadInfo_.tid); in UnwindProcess()
308 int result = unw_get_ark_js_heap_crash_info(thread->threadInfo_.tid, in GetArkJsHeapFuncName()
330 pid_t nsTid = thread->threadInfo_.nsTid; in UnwindThread()
Ddfx_process.cpp69 if ((keyThread_ != nullptr) && nstids[i] == keyThread_->threadInfo_.nsTid) { in InitOtherThreads()