android_system_core/debuggerd/libdebuggerd
Josh Gao 2b2ae0c88e crash_dump: fork a copy of the target's address space.
Reduce the amount of time that a process remains paused by pausing its
threads, fetching their registers, and then performing unwinding on a
copy of its address space. This also works around a kernel change
that's in 4.9 that prevents ptrace from reading memory of processes
that we don't have immediate permissions to ptrace (even if we
previously ptraced them).

Bug: http://b/62112103
Bug: http://b/63989615
Test: treehugger
Change-Id: I7b9cc5dd8f54a354bc61f1bda0d2b7a8a55733c4
2017-12-15 14:11:12 -08:00
..
include/libdebuggerd crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
test crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
backtrace.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
elf_utils.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
open_files_list.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
tombstone.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
utility.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00