diff options
author | Kalesh Singh <kaleshsingh@google.com> | 2019-07-14 12:15:35 -0700 |
---|---|---|
committer | Kalesh Singh <kaleshsingh@google.com> | 2019-07-18 16:02:57 -0700 |
commit | 1489e27bda2a6f90048bc296023fcdc809a0b4b6 (patch) | |
tree | a50a05273bcb3f808d782f89fe2e94430db465f7 /init/builtins.cpp | |
parent | cd22e3a6f6e530d6a1f3eb4fa3f65aae444d0410 (diff) |
Add wchan data to ANR dump
Since only privileged processes with CAP_SYS_ADMIN can read kernel
stack traces from /proc/*/stack, we dump the waiting channels
instead to provide some insight as to where the process might
be stuck in the kernel.
Bug: 135458700
Fixes: 135458700
Test: adb shell am hang; Check /data/anr/<anr-file> for
wchan data.
Change-Id: I9f13511ad89a259ce5e5465155db15d45d2c46d8
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions