Home
last modified time | relevance | path

Searched refs:pseudothread_tid (Results 1 – 2 of 2) sorted by relevance

/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp315 pid_t pseudothread_tid; member
440 char pseudothread_tid[10]; in debuggerd_dispatch_pseudothread() local
443 async_safe_format_buffer(pseudothread_tid, sizeof(pseudothread_tid), "%d", in debuggerd_dispatch_pseudothread()
444 thread_info->pseudothread_tid); in debuggerd_dispatch_pseudothread()
448 execle(CRASH_DUMP_PATH, CRASH_DUMP_NAME, main_tid, pseudothread_tid, debuggerd_dump_type, in debuggerd_dispatch_pseudothread()
646 .pseudothread_tid = -1, in debuggerd_signal_handler()
674 &thread_info, nullptr, nullptr, &thread_info.pseudothread_tid); in debuggerd_signal_handler()
680 futex_wait(&thread_info.pseudothread_tid, -1); in debuggerd_signal_handler()
683 futex_wait(&thread_info.pseudothread_tid, child_pid); in debuggerd_signal_handler()
/system/core/debuggerd/
Dcrash_dump.cpp267 static void ParseArgs(int argc, char** argv, pid_t* pseudothread_tid, DebuggerdDumpType* dump_type)… in ParseArgs() argument
276 if (!android::base::ParseInt(argv[2], pseudothread_tid, 1, std::numeric_limits<pid_t>::max())) { in ParseArgs()
404 static pid_t wait_for_vm_process(pid_t pseudothread_tid) { in wait_for_vm_process() argument
406 pid_t intermediate = wait_for_clone(pseudothread_tid, true); in wait_for_vm_process()
584 pid_t pseudothread_tid; in main() local
589 ParseArgs(argc, argv, &pseudothread_tid, &dump_type); in main()
621 if (thread == pseudothread_tid) { in main()
687 if (!ptrace_seize_thread(target_proc_fd, pseudothread_tid, &error, PTRACE_O_TRACECLONE)) { in main()
695 pid_t vm_pid = wait_for_vm_process(pseudothread_tid); in main()
696 if (ptrace(PTRACE_DETACH, pseudothread_tid, 0, 0) != 0) { in main()