commit | efd55b5b5837912c737eb0a9fa09954c8085e055 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Aug 26 09:25:20 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Aug 27 05:13:38 2019 +0000 |
tree | 43917185ef67c94326e1b27325dc617b92abb5bf | |
parent | 1ec82e562a31fbd7383555b610743d85b7b4a7d4 [diff] |
Don't complain if we can't read /proc/self/task/pid/stack. Why do we see the warning on every stack in an ANR? Because normally on Android you either won't have CONFIG_STACKTRACE, or you won't have PTRACE_MODE_ATTACH_FSCREDS. I'm assuming this code still has some value on the host, so I'm just silencing the warning rather than deleting the code. Test: treehugger Change-Id: I2f203bde87a6613d1b300a0020290c62bea4ac48