commit | e70ea7dbe472c3e7e71b508da085705f2e1ed36a | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Aug 18 15:37:26 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Aug 18 16:16:58 2017 -0700 |
tree | 0b26dc2667b938e0c522307d80707b9eae88eb3b | |
parent | 8bcf482bdd3b5d7a2d259bc214feaf5206ada8e4 [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