commit | 9afb2f2106a5d659854c175c574c1c31e0e205a2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 09 14:01:47 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Oct 09 14:01:47 2014 -0700 |
tree | cbcc21f633b85ff022827d5e2c3ac87db3a5e2c4 | |
parent | d0944d9ed38be0d74c3d8876f0f36b9ddc0ce38c [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 Change-Id: Iff85ceb6d52e8716251fab4e45d95a27184c5529