diff options
author | Josh Gao <jmgao@google.com> | 2017-08-18 15:37:26 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-08-18 16:16:58 -0700 |
commit | fd13bf0dcd374e98a3acd8e3d3672221aef94c7c (patch) | |
tree | 0b26dc2667b938e0c522307d80707b9eae88eb3b /debuggerd/handler/debuggerd_handler.cpp | |
parent | de6b44aa0ec047aacf277ce797574b50f406d589 (diff) |
crash_dump: print the identity of tracers.
Instead of printing a useless "ptrace attach failed: strerror(EPERM)"
message, print the name and pid of a competing tracer when we fail to
attach because a process is already being ptraced.
Bug: http://b/31531918
Test: debuggerd_test32, debuggerd_test64 on aosp_angler
Test: strace -p `pidof surfaceflinger`; debuggerd -b surfaceflinger
Change-Id: Ifd3f80fe03de30ff38c0e0068560a7b12875f29d
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions