Hi przemol,
Thanks for your reply.
But with the following script one could know the tid of a thread which is
creating another thread with name "copyinstr(arg0)".
dtrace -n 'dvm$target:::thread-start {printf ("%d, %s, ", tid,
copyinstr(arg0))}'
And I want to know the tid of a thread which is being created by "tid"; i.e.
the thread id of a thread whose name is "copyinstr(arg0)".
Like, With following
dtrace -n 'proc:::lwp-create{printf("%d created %d", tid, args[0]->pr_lwpid)}'
we can know thread "tid" created another thread with thread-id
"args[0]->pr_lwpid".
Thanks,
Ajit.
--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]