commit | 3142a81447381f3b25a108f3783d0e177f14ba54 | [log] [tgz] |
---|---|---|
author | Torne (Richard Coles) <torne@google.com> | Fri Mar 21 16:32:03 2014 +0000 |
committer | Torne (Richard Coles) <torne@google.com> | Fri Mar 21 16:32:03 2014 +0000 |
tree | b7a8c570fac38f31df6c252d0019ae7c81262201 | |
parent | f6f1cfefca79cbef43cdc100e2288dd517f4aaea [diff] |
Cherry-pick: Set thread names to be visible in debuggers Cherrypick of upstream trunk r250981 > Like linux, on android we can get the thread names to show up in the > debugger by setting the process name for the LWP. > > This change sets the name of the calling thread using prctl. > > BUG=332881 > > R=jam@chromium.org > R=torne@chromium.org > > Review URL: https://codereview.chromium.org/144943004 Bug: 13577599 Change-Id: I5f350bcb078f27ace005168d414bfc84d26b012b