On Wed, Oct 03, 2007 at 05:23:58AM -0700, Ajit Bansode wrote:
> Hi all,
> With "dvm$target:::thread-start" we can only know the thread-name of the 
> thread being created. But at the same time I want to know thread-id also.
> 
> Could you, please, tell me how to do this?

'tid' is what you are looking for:
dtrace -n 'dvm$target:::thread-start {printf ("%d, %s,   ", tid, 
copyinstr(arg0))}'


przemol

--
http://przemol.blogspot.com/





















----------------------------------------------------------------------
Fajne i smieszne. Zobacz najlepsze filmiki!

>>> http://link.interia.pl/f1bbb

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to