Searched defs:pid (Results 1 - 5 of 5) sorted by relevance
/art/test/137-cfi/ |
H A D | cfi.cc | 183 pid_t pid = static_cast<pid_t>(pid_int); local 187 if (ptrace(PTRACE_ATTACH, pid, 0, 0)) { 191 kill(pid, SIGKILL); 195 kill(pid, SIGSTOP); 199 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed); 204 std::unique_ptr<Backtrace> bt(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD)); 229 if (ptrace(PTRACE_DETACH, pid, 0, 0) != 0) { 234 kill(pid, SIGKILL);
|
/art/test/137-cfi/src/ |
H A D | Main.java | 90 int pid = getPid(p); 91 if (pid <= 0) { 102 if (!unwindOtherProcess(pid)) { 120 // Could do reflection for the private pid field, but String parsing is easier. 122 if (s.startsWith("Process[pid=")) { 123 return Integer.parseInt(s.substring("Process[pid=".length(), s.length() - 1)); 169 public native boolean unwindOtherProcess(int pid); argument
|
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 47 PLOG(ERROR) << "prctl(PR_SET_DUMPABLE) failed for pid " << getpid(); 55 PLOG(ERROR) << "setrlimit(RLIMIT_CORE) failed for pid " << getpid(); 169 // Either no process name, or the name hasn't been changed, yet. Just use pid. 170 pid_t pid = getpid(); local 171 proc_name = StringPrintf("%u", static_cast<uint32_t>(pid));
|
/art/test/004-ThreadStress/src/ |
H A D | Main.java | 75 private final static int pid; field in class:Main.SigQuit 98 pid = pidTemp; 106 kill.invoke(null, pid, sigquit);
|
/art/runtime/ |
H A D | utils.cc | 1001 // /proc/<pid>/cgroup looks like this: 1407 pid_t pid = fork(); local 1408 if (pid == 0) { 1419 if (pid == -1) { 1427 pid_t got_pid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); 1428 if (got_pid != pid) { 1431 command_line.c_str(), pid, got_pid, strerror(errno));
|
Completed in 154 milliseconds