<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-08-21 20:57 GMT+03:00 Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 08/18/2015 06:32 PM, Artem Kuzmitskiy wrote:<br>
> Hi all,<br>
><br>
> I'm not sure what it's important, but I found that thread names (if were<br>
> assigned using prctl\pthread_setname) not restored. Is it bug or not?<br>
<br>
</span>Well, if criu doesn't support something, then it's definitely a bug, but<br>
we don't call it such. Not-yet-implemented-feature.<br>
<span class=""><br></span></blockquote><div>Ок. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
> Steps for reproduce:<br>
> 1. Start thread and assign name.<br>
> pthread_create(&thread, NULL, do_nothing, NULL);<br>
> pthread_setname_np(thread, "NOTHING_THREAD");<br>
> 2. Check name using procfs<br>
> $ cat /proc/12857/task/12858/stat<br>
> 12858 (NOTHING_THREAD) .....<br>
> 3. Dump process with this thread<br>
> 4. Restore process<br>
> 5. Check again<br>
> cat /proc/12857/task/12858/stat<br>
> 12858 (socketpair) .....<br>
><br>
> P.S. In pstree.img not include the thread names now, only tid.<br>
<br>
</span>Yup. Patch for this is warmly welcome.<br></blockquote><div>I feel that this is part of parasite code? <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
-- Pavel<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best regards,<div>Artem Kuzmitskiy</div><div><br></div></div></div></div></div>
</div></div>