summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryOfflineTest.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-08-21 14:31:17 -0700
committerJosh Gao <jmgao@google.com>2017-12-15 14:11:12 -0800
commit2b2ae0c88ef83c4c53297ff54fa601b18c014fa4 (patch)
tree832d3ab764da9a63d4e22001f18045fa13078dd5 /libunwindstack/tests/MemoryOfflineTest.cpp
parent385ea22741ed5bad794fb6b1dff2b46481f241c4 (diff)
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
Diffstat (limited to 'libunwindstack/tests/MemoryOfflineTest.cpp')
0 files changed, 0 insertions, 0 deletions