Searched refs:thread_info (Results 1 – 4 of 4) sorted by relevance
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 253 debugger_thread_info* thread_info = static_cast<debugger_thread_info*>(arg); in debuggerd_dispatch_pseudothread() local 284 __libc_format_buffer(main_tid, sizeof(main_tid), "%d", thread_info->crashing_tid); in debuggerd_dispatch_pseudothread() 285 …__libc_format_buffer(pseudothread_tid, sizeof(pseudothread_tid), "%d", thread_info->pseudothread_t… in debuggerd_dispatch_pseudothread() 305 thread_info->crash_dump_started = true; in debuggerd_dispatch_pseudothread() 317 thread_info->crash_dump_started = false; in debuggerd_dispatch_pseudothread() 408 debugger_thread_info thread_info = { in debuggerd_signal_handler() local 426 &thread_info, nullptr, nullptr, &thread_info.pseudothread_tid); in debuggerd_signal_handler() 432 __futex_wait(&thread_info.pseudothread_tid, -1, nullptr); in debuggerd_signal_handler() 435 __futex_wait(&thread_info.pseudothread_tid, child_pid, nullptr); in debuggerd_signal_handler() 452 resend_signal(info, thread_info.crash_dump_started); in debuggerd_signal_handler()
|
/system/core/libmemunreachable/tests/ |
D | ThreadCapture_test.cpp | 237 auto thread_info = allocator::vector<ThreadInfo>(heap); in TEST_P() local 238 ASSERT_TRUE(thread_capture.CapturedThreadInfo(thread_info)); in TEST_P() 239 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()
|
/system/core/libmemunreachable/ |
D | ThreadCapture.cpp | 87 bool PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info); 212 bool ThreadCaptureImpl::PtraceThreadInfo(pid_t tid, ThreadInfo& thread_info) { in PtraceThreadInfo() argument 213 thread_info.tid = tid; in PtraceThreadInfo() 228 thread_info.regs.assign(®s[0], ®s[num_regs]); in PtraceThreadInfo() 248 thread_info.stack = std::pair<uintptr_t, uintptr_t>(regs[sp], 0); in PtraceThreadInfo()
|
D | MemUnreachable.cpp | 282 allocator::vector<ThreadInfo> thread_info(heap); in GetUnreachableMemory() local 292 if (!thread_capture.CapturedThreadInfo(thread_info)) { in GetUnreachableMemory() 328 if (!unreachable.CollectAllocations(thread_info, mappings)) { in GetUnreachableMemory()
|