commit | f5b6e5590e0a2c1be10bc0bd0a3b141256fdf7fd | [log] [tgz] |
---|---|---|
author | Dmitriy Filchenko <dmitriyf@google.com> | Mon Jul 18 16:00:35 2016 -0700 |
committer | Dmitriy Filchenko <dmitriyf@google.com> | Mon Jul 18 16:03:05 2016 -0700 |
tree | fce781756ac30d5ebc344b6b6872c242be5e6672 | |
parent | 8ee58b3b4eb09d5208a2c4c2b60be7d0ac99b3b8 [diff] |
Handle long process names correctly. pthread_setname_np() expects 16 or fewer characters for the name argument. When the process name is longer, we should trim it. Change-Id: I40be3a4212bdaab900c8eb30fa27aeeb7ed1b0d1