| commit | 1489e27bda2a6f90048bc296023fcdc809a0b4b6 | [log] [tgz] |
|---|---|---|
| author | Kalesh Singh <kaleshsingh@google.com> | Sun Jul 14 12:15:35 2019 -0700 |
| committer | Kalesh Singh <kaleshsingh@google.com> | Thu Jul 18 16:02:57 2019 -0700 |
| tree | a50a05273bcb3f808d782f89fe2e94430db465f7 | |
| 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