/aosp12/system/core/debuggerd/libdebuggerd/ |
H A D | tombstone.cpp | 172 if (signal_has_sender(thread_info.siginfo, thread_info.pid)) { in dump_signal_info() 177 thread_info.siginfo->si_signo, get_signame(thread_info.siginfo), in dump_signal_info() 178 thread_info.siginfo->si_code, get_sigcode(thread_info.siginfo), sender_desc, addr_desc); in dump_signal_info() 186 if (!thread_info.command_line.empty()) { in dump_thread_info() 191 thread_info.tid, thread_info.thread_name.c_str(), process_name); in dump_thread_info() 193 if (thread_info.tagged_addr_ctrl != -1) { in dump_thread_info() 382 log->current_tid = thread_info.tid; in dump_thread() 386 dump_thread_info(log, thread_info); in dump_thread() 388 if (thread_info.siginfo) { in dump_thread() 404 dump_probable_cause(log, thread_info.siginfo, unwinder->GetMaps(), thread_info.registers.get()); in dump_thread() [all …]
|
H A D | backtrace.cpp | 83 const std::map<pid_t, ThreadInfo>& thread_info, pid_t target_thread) { in dump_backtrace() argument 88 auto target = thread_info.find(target_thread); in dump_backtrace() 89 if (target == thread_info.end()) { in dump_backtrace() 97 for (const auto& [tid, info] : thread_info) { in dump_backtrace()
|
H A D | tombstone_proto.cpp | 339 const ThreadInfo& thread_info, bool memory_dump = false) { in dump_thread() argument 342 thread.set_id(thread_info.tid); in dump_thread() 343 thread.set_name(thread_info.thread_name); in dump_thread() 344 thread.set_tagged_addr_ctrl(thread_info.tagged_addr_ctrl); in dump_thread() 349 thread_info.registers->IterateRegisters( in dump_thread() 400 std::unique_ptr<unwindstack::Regs> regs_copy(thread_info.registers->Clone()); in dump_thread() 429 threads[thread_info.tid] = thread; in dump_thread() 433 const ThreadInfo& thread_info) { in dump_main_thread() argument 434 dump_thread(tombstone, unwinder, thread_info, true); in dump_main_thread() 666 for (const auto& [tid, thread_info] : threads) { in engrave_tombstone_proto() [all …]
|
H A D | gwp_asan.cpp | 69 const ProcessInfo& process_info, const ThreadInfo& thread_info) { in GwpAsanCrashData() argument 86 thread_id_ = thread_info.tid; in GwpAsanCrashData()
|
/aosp12/system/core/debuggerd/handler/ |
H A D | debuggerd_handler.cpp | 310 if (thread_info->siginfo->si_signo == BIONIC_SIGNAL_DEBUGGER && in get_dump_type() 311 thread_info->siginfo->si_value.sival_int) { in get_dump_type() 353 if (thread_info->process_info.fdsan_table) { in debuggerd_dispatch_pseudothread() 359 iovs[3] = {.iov_base = &thread_info->process_info, in debuggerd_dispatch_pseudothread() 360 .iov_len = sizeof(thread_info->process_info)}; in debuggerd_dispatch_pseudothread() 400 thread_info->pseudothread_tid); in debuggerd_dispatch_pseudothread() 402 get_dump_type(thread_info)); in debuggerd_dispatch_pseudothread() 547 debugger_thread_info thread_info = { in debuggerd_signal_handler() local 577 &thread_info, nullptr, nullptr, &thread_info.pseudothread_tid); in debuggerd_signal_handler() 583 futex_wait(&thread_info.pseudothread_tid, -1); in debuggerd_signal_handler() [all …]
|
/aosp12/system/memory/libmemunreachable/tests/ |
H A D | ThreadCapture_test.cpp | 236 auto thread_info = allocator::vector<ThreadInfo>(heap); in TEST_P() local 237 ASSERT_TRUE(thread_capture.CapturedThreadInfo(thread_info)); in TEST_P() 238 ASSERT_EQ(threads, thread_info.size()); in TEST_P() 334 auto thread_info = allocator::vector<ThreadInfo>(heap); in TEST_F() local 335 ASSERT_TRUE(thread_capture.CapturedThreadInfo(thread_info)); in TEST_F() 336 ASSERT_EQ(1U, thread_info.size()); in TEST_F()
|
/aosp12/system/memory/libmemunreachable/ |
H A D | ThreadCapture.cpp | 90 bool PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info); 211 bool ThreadCaptureImpl::PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info) { in PtraceThreadInfo() argument 212 thread_info.tid = tid; in PtraceThreadInfo() 226 thread_info.regs.assign(®s[0], ®s[num_regs]); in PtraceThreadInfo() 246 thread_info.stack = std::pair<uintptr_t, uintptr_t>(regs[sp], 0); in PtraceThreadInfo()
|
H A D | MemUnreachable.cpp | 307 allocator::vector<ThreadInfo> thread_info(heap); in GetUnreachableMemory() local 318 if (!thread_capture.CapturedThreadInfo(thread_info)) { in GetUnreachableMemory() 359 if (!unreachable.CollectAllocations(thread_info, mappings, refs)) { in GetUnreachableMemory()
|
/aosp12/system/core/debuggerd/ |
H A D | crash_dump.cpp | 468 std::map<pid_t, ThreadInfo> thread_info; in main() local 527 thread_info[thread] = std::move(info); in main() 557 for (const auto& [tid, thread] : thread_info) { in main() 622 dump_backtrace(std::move(g_output_fd), &unwinder, thread_info, g_target_thread); in main() 632 engrave_tombstone(std::move(g_output_fd), std::move(g_proto_fd), &unwinder, thread_info, in main() 639 if (thread_info[target_process].thread_name != "system_server") { in main()
|
/aosp12/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
H A D | backtrace.h | 39 const std::map<pid_t, ThreadInfo>& thread_info, pid_t target_thread);
|
H A D | gwp_asan.h | 45 const ThreadInfo& thread_info);
|
H A D | tombstone.h | 56 const std::map<pid_t, ThreadInfo>& thread_info, pid_t target_thread,
|
/aosp12/art/test/ti-stress/ |
H A D | stress.cc | 362 ScopedThreadInfo thread_info(jvmtienv, env, thread); in doJvmtiMethodBind() local 369 << thread_info.GetName(); in doJvmtiMethodBind()
|