This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Finding out thread name
- From: corpaul <c dot bezemer at tudelft dot nl>
- To: systemtap at sourceware dot org
- Date: Wed, 8 May 2013 08:04:08 -0700 (PDT)
- Subject: Finding out thread name
Hi,
This is probably very easy to solve but I cannot seem to find how to do this
:/
I would like to get the name of a thread from a tid().
So far I have only been able to get the process name (execname()).
I expected the task_execname() to yield the correct name but this didn't
seem to work OK.
I would like the information in /proc/$PID/task/TID/comm.
Is there any way I can get this information in systemtap?
Thanks!
--
View this message in context: http://sourceware-org.1504.n7.nabble.com/Finding-out-thread-name-tp231050.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.