Searched refs:pseudothread_tid (Results 1 – 2 of 2) sorted by relevance
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 295 pid_t pseudothread_tid; member 383 char pseudothread_tid[10]; in debuggerd_dispatch_pseudothread() local 386 async_safe_format_buffer(pseudothread_tid, sizeof(pseudothread_tid), "%d", in debuggerd_dispatch_pseudothread() 387 thread_info->pseudothread_tid); in debuggerd_dispatch_pseudothread() 391 execle(CRASH_DUMP_PATH, CRASH_DUMP_NAME, main_tid, pseudothread_tid, debuggerd_dump_type, in debuggerd_dispatch_pseudothread() 528 .pseudothread_tid = -1, in debuggerd_signal_handler() 558 &thread_info, nullptr, nullptr, &thread_info.pseudothread_tid); in debuggerd_signal_handler() 564 futex_wait(&thread_info.pseudothread_tid, -1); in debuggerd_signal_handler() 567 futex_wait(&thread_info.pseudothread_tid, child_pid); in debuggerd_signal_handler()
|
/system/core/debuggerd/ |
D | crash_dump.cpp | 235 static void ParseArgs(int argc, char** argv, pid_t* pseudothread_tid, DebuggerdDumpType* dump_type)… in ParseArgs() argument 244 if (!android::base::ParseInt(argv[2], pseudothread_tid, 1, std::numeric_limits<pid_t>::max())) { in ParseArgs() 344 static pid_t wait_for_vm_process(pid_t pseudothread_tid) { in wait_for_vm_process() argument 346 pid_t intermediate = wait_for_clone(pseudothread_tid, true); in wait_for_vm_process() 414 pid_t pseudothread_tid; in main() local 420 ParseArgs(argc, argv, &pseudothread_tid, &dump_type); in main() 454 if (thread == pseudothread_tid) { in main() 496 if (!ptrace_seize_thread(target_proc_fd, pseudothread_tid, &error, PTRACE_O_TRACECLONE)) { in main() 504 pid_t vm_pid = wait_for_vm_process(pseudothread_tid); in main() 505 if (ptrace(PTRACE_DETACH, pseudothread_tid, 0, 0) != 0) { in main()
|