Home
last modified time | relevance | path

Searched refs:nsPid (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_process.cpp37 std::shared_ptr<DfxProcess> DfxProcess::Create(pid_t pid, pid_t nsPid) in Create() argument
39 auto process = std::make_shared<DfxProcess>(pid, nsPid); in Create()
43 DfxProcess::DfxProcess(pid_t pid, pid_t nsPid) in DfxProcess() argument
45 InitProcessInfo(pid, nsPid); in DfxProcess()
48 void DfxProcess::InitProcessInfo(pid_t pid, pid_t nsPid) in InitProcessInfo() argument
51 processInfo_.nsPid = nsPid; in InitProcessInfo()
85 if (processInfo_.pid == processInfo_.nsPid) { in ChangeTid()
Ddfx_process.h31 pid_t nsPid = 0; member
38 static std::shared_ptr<DfxProcess> Create(pid_t pid, pid_t nsPid);
39 DfxProcess(pid_t pid, pid_t nsPid);
61 void InitProcessInfo(pid_t pid, pid_t nsPid);
Dprocess_dumper.cpp100 if ((!isCrash_ && (syscall(SYS_getppid) != request->nsPid)) || in DumpProcess()
103 … request->processName, request->nsPid, syscall(SYS_getppid), request->siginfo.si_signo); in DumpProcess()
108 …request->siginfo.si_value.sival_int, request->pid, request->nsPid, request->tid, request->threadNa… in DumpProcess()
131 if ((!isCrash_ && (syscall(SYS_getppid) != request->nsPid)) || in DumpProcess()
147 process_ = DfxProcess::Create(request->pid, request->nsPid); in InitProcessInfo()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/
Dprocinfo.cpp54 int nsPid = 0; in GetProcStatusByPath() local
68 procInfo.nsPid = pid; in GetProcStatusByPath()
84 if (sscanf_s(buf, "%*[^0-9]%d%*[^0-9]%d", &pid, &nsPid) != ARGS_COUNT_TWO) { in GetProcStatusByPath()
86 procInfo.nsPid = pid; in GetProcStatusByPath()
89 procInfo.nsPid = nsPid; in GetProcStatusByPath()
110 nstid = procInfo.nsPid; in TidToNstid()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/include/
Dprocinfo.h40 int nsPid; member
/base/hiviewdfx/faultloggerd/interfaces/common/
Ddfx_dump_request.h78 int32_t nsPid; member
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_signal_handler.c157 g_request.nsPid = syscall(SYS_getpid); in FillDumpRequest()