commit | 2f25cf373ca7c875956a7c06483b30d381296817 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 09 14:01:47 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Oct 10 10:57:48 2014 -0700 |
tree | 0299f2f5c5aaac06b9b942cc9139d638df6fcbdf | |
parent | 7f4618cbc8bda2bd98f1361c55db63b16f2b9b50 [diff] |
Fix pthread_attr_getstack under valgrind. valgrind seems to mess with the stack enough that the kernel will report "[stack:pid]" rather than "[stack]" in /proc/self/maps, so switch to the task-specific file instead to force "[stack]". (There are two conditions in the kernel code that decides which form to output.) Bug: 17897476 (cherry picked from commit 9afb2f2106a5d659854c175c574c1c31e0e205a2) Change-Id: I92c331ef6fb5868af49e75bc595710d290a95f5b