Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dexec.cpp37 pid_t pid = fork(); in Exec() local
38 if (pid == 0) { in Exec()
44 if (pid < 0) { in Exec()
48 pid_t res_pid = PANDA_FAILURE_RETRY(waitpid(pid, &status, 0)); in Exec()
49 if (res_pid != pid) { in Exec()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.cpp222 bool ReadUintptrFromAddr(int pid, uintptr_t addr, uintptr_t &value, bool needCheckRegion) in ReadUintptrFromAddr() argument
224 if (pid == getpid()) { in ReadUintptrFromAddr()
251 *retAddr = PtracePeektext(pid, addr); in ReadUintptrFromAddr()
342 bool StepArkManagedNativeFrame(int pid, uintptr_t *pc, uintptr_t *fp, uintptr_t *sp, in StepArkManagedNativeFrame() argument
352 if (pid == getpid() && JsStackInfo::loader != nullptr && in StepArkManagedNativeFrame()
360 if (!ReadUintptrFromAddr(pid, currentPtr, frameType, true)) { in StepArkManagedNativeFrame()
376 if (!ReadUintptrFromAddr(pid, currentPtr, currentPtr, true)) { in StepArkManagedNativeFrame()
387 if (!ReadUintptrFromAddr(pid, currentPtr, *pc, true)) { in StepArkManagedNativeFrame()
434 bool GetArkJSHeapCrashInfo(int pid, uintptr_t *bytecodePc, uintptr_t *fp, bool outJSInfo, char *out… in GetArkJSHeapCrashInfo() argument
446 if (!ReadUintptrFromAddr(pid, currentPtr, frameType, false)) { in GetArkJSHeapCrashInfo()
[all …]
Djs_stackinfo.h41 int pid, uintptr_t *pc, uintptr_t *fp, uintptr_t *sp, char *buf, size_t buf_sz);
43 int pid, uintptr_t *x20, uintptr_t *fp, int out_js_info, char *buf, size_t buf_sz);
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
Dos.cpp55 long PtracePeektext(int pid, uintptr_t addr) in PtracePeektext() argument
57 return ptrace(PTRACE_PEEKTEXT, pid, addr, NULL); in PtracePeektext()
/arkcompiler/runtime_core/tests/gtest_launcher/
Dmain.cpp43 pid_t pid = fork(); in HandleTimeout() local
44 if (pid != 0) { in HandleTimeout()
/arkcompiler/ets_runtime/ecmascript/platform/
Dos.h27 long PtracePeektext(int pid, uintptr_t addr);
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dos.cpp49 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext() argument
/arkcompiler/toolchain/websocket/test/
Dwebsocket_test.cpp335 pid_t pid = fork(); variable
336 if (pid == 0) {
380 } else if (pid > 0) {
426 pid_t pid = fork(); variable
427 if (pid == 0) {
453 } else if (pid > 0) {
/arkcompiler/ets_runtime/ecmascript/platform/unix/mac/
Dos.cpp55 long PtracePeektext([[maybe_unused]] int pid, [[maybe_unused]] uintptr_t addr) in PtracePeektext() argument
/arkcompiler/runtime_core/scripts/
Dmemusage.py218 smaps = read_file('/proc/{}/smaps'.format(args.pid))
225 smaps = read_file('/proc/{}/smaps'.format(args.pid))
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dcpu_profiler.cpp237 …"[{\"args\":{\"data\":{\"frames\":[{\"processId\":" + std::to_string(currentProcessInfo.pid) + "}]" in SetProfileStart()
240 + std::to_string(currentProcessInfo.pid) + ",\"s\":\"t\",\"tid\":" in SetProfileStart()
247 + std::to_string(currentProcessInfo.pid) + ",\"tid\":" in SetProfileStart()
257 currentProcessInfo.pid = getpid(); in GetCurrentProcessInfo()
Dcpu_profiler.h36 pid_t pid = 0; member
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp650 std::string pid; in OptimizeProgram() local
652 pid = std::to_string(GetCurrentProcessId()); in OptimizeProgram()
654 pid = std::to_string(getpid()); in OptimizeProgram()
657 …std::string tempOutput = panda::os::file::File::GetExtendedFilePath(inputFile + pid + outputSuffix… in OptimizeProgram()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_test.cpp80 int pid = getpid(); in CheckAnonMemoryName() local
82 ss << "/proc/" << pid << "/maps"; in CheckAnonMemoryName()
/arkcompiler/ets_frontend/test262/
Deshost.patch38 return `f-${now}-${process.pid}-${(Math.random() * 0x100000000 + 1).toString(36)}.js`;
Drun_sunspider.py154 os.kill(proc.pid, signal.SIGTERM)
/arkcompiler/ets_runtime/test/
Druntest.py88 os.kill(proc.pid, signal.SIGTERM)
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp211 pid_t pid = getpid(); in CheckSecureMem() local
212 LOG_ECMA(DEBUG) << "Check secure memory in : " << pid << " with mem: " << std::hex << mem; in CheckSecureMem()
213 … if (sprintf_s(procPath, XPM_PROC_LENGTH, "%s%d%s", XPM_PROC_PREFIX, pid, XPM_PROC_SUFFIX) <= 0) { in CheckSecureMem()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …&"checkTypes"===r||(e.performance.mark("beginTracing"),n.writeSync(l,',\n{"pid":1,"tid":1,"ph":"'+… property