This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]