crash-stack: Change "ThreadID" heuristic to work on aarch64 37/128837/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 11 May 2017 13:47:18 +0000 (15:47 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 11 May 2017 13:47:18 +0000 (15:47 +0200)
commit52a40d94946c7d9706587b056e5d70d1724cc4d5
treecc0a569ba97b54afd682ce9e4493b2ea2a890e84
parentb9c19a3289da23bdae71252d0842cf54f9d5ff8c
crash-stack: Change "ThreadID" heuristic to work on aarch64

Commit 82e3caa86 ("crash-stack: Find crashed tid by wchan")
introduced heuristic method of finding correct thread id, if
it was not passed by the kernel as parameter to crash-manager.

This commit modifies this heuristic to also consider "pipe_wait"
function in kernel to signify crashed thread.  This is what was
observed to be true on aarch64.

Change-Id: Iefa6d028f459ff9491f8e184433f913f39a096eb
src/crash-stack/crash-stack.c