NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/48583: no way to display thread names



>Number:         48583
>Category:       bin
>Synopsis:       no way to display thread names
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 09 16:05:00 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.30
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 6.99.30 NetBSD 6.99.30 (NIGHT-OWL) #228: 
Tue Feb 4 21:48:17 CET 2014 
martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL
 amd64
Architecture: x86_64
Machine: amd64
>Description:

We have functions to set and get a thread name (pthread_setname_np
and pthread_getname_np), but I couldn't find a userland utility to display
them. These is very usefull in heavily threaded apps like Firefox (which
can be taught to properly set thread names).

FreeBSD seems to have a procstat utility for this.
If we find spare option letters, we could also add it to ps(1), and a
top display including it would also be nice.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index