Searched defs:thread_info (Results 1 - 5 of 5) sorted by relevance

/system/core/debuggerd/libdebuggerd/
H A Dbacktrace.cpp81 const std::map<pid_t, ThreadInfo>& thread_info, pid_t target_thread) {
86 auto target = thread_info.find(target_thread);
87 if (target == thread_info.end()) {
95 for (const auto& [tid, info] : thread_info) {
80 dump_backtrace(android::base::unique_fd output_fd, BacktraceMap* map, const std::map<pid_t, ThreadInfo>& thread_info, pid_t target_thread) argument
H A Dtombstone.cpp119 static void dump_thread_info(log_t* log, const ThreadInfo& thread_info) { argument
122 if (thread_info.thread_name == "logd" ||
123 android::base::StartsWith(thread_info.thread_name, "logd.")) {
127 _LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", thread_info.pid,
128 thread_info.tid, thread_info.thread_name.c_str(), thread_info.process_name.c_str());
402 const ThreadInfo& thread_info, uint64_t abort_msg_address,
405 log->current_tid = thread_info.tid;
409 dump_thread_info(log, thread_info);
401 dump_thread(log_t* log, BacktraceMap* map, Memory* process_memory, const ThreadInfo& thread_info, uint64_t abort_msg_address, bool primary_thread) argument
[all...]
/system/core/libmemunreachable/
H A DThreadCapture.cpp90 bool PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info);
211 bool ThreadCaptureImpl::PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info) { argument
212 thread_info.tid = tid;
226 thread_info.regs.assign(&regs[0], &regs[num_regs]);
246 thread_info.stack = std::pair<uintptr_t, uintptr_t>(regs[sp], 0);
/system/core/debuggerd/
H A Dcrash_dump.cpp401 std::map<pid_t, ThreadInfo> thread_info; local
444 thread_info[thread] = std::move(info);
472 for (const auto& [tid, thread] : thread_info) {
542 dump_backtrace(std::move(g_output_fd), map.get(), thread_info, g_target_thread); local
545 engrave_tombstone(std::move(g_output_fd), map.get(), process_memory.get(), thread_info, local
551 if (thread_info[target_process].thread_name != "system_server") {
/system/core/debuggerd/handler/
H A Ddebuggerd_handler.cpp287 static DebuggerdDumpType get_dump_type(const debugger_thread_info* thread_info) { argument
288 if (thread_info->siginfo->si_signo == DEBUGGER_SIGNAL &&
289 thread_info->siginfo->si_value.sival_int) {
297 debugger_thread_info* thread_info = static_cast<debugger_thread_info*>(arg); local
332 {.iov_base = thread_info->siginfo, .iov_len = sizeof(siginfo_t)},
333 {.iov_base = thread_info->ucontext, .iov_len = sizeof(ucontext_t)},
334 {.iov_base = &thread_info->abort_msg, .iov_len = sizeof(uintptr_t)},
362 async_safe_format_buffer(main_tid, sizeof(main_tid), "%d", thread_info->crashing_tid);
364 thread_info->pseudothread_tid);
366 get_dump_type(thread_info));
489 debugger_thread_info thread_info = { local
[all...]

Completed in 86 milliseconds