https://bugs.kde.org/show_bug.cgi?id=393182
Bug ID: 393182
Summary: Add support for pthread_setname_np() to set thread
name
Product: valgrind
Version: 3.12.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Some versions of pthreads (e.g. on Linux x86_64) have pthread_setname_np(),
which allows to set thread name. Some tools like gdb can use it to display
friendly name for thread. Please add support for it in Valgrind too, to capture
and display thread names in helgrind and drd tools.
BTW, Valgrind currently supports ANNOTATE_THREAD_NAME() which provide similar
functionality. However this is limited to drd tool only, and requires
modification to user program.
--
You are receiving this mail because:
You are watching all bug changes.