On Sun, Apr 29, 2007 at 09:39:38AM -0700, Neelam wrote:> Hi,
>
> ustack as I understand traces a maximum of depth stack frames from the user
process stack associated with the current thread.
>
> I am currently tracing the user-level locks with plockstat.
> I want to know for the every lock, the trace of the function calls that
finally lead to acquisition of the lock. So I am using the arg0 for printing the
address of the lock and ustack with a big number as a parameter so that it shows
me the list of all the function calls.
>
> Is this a reasonable method?
That sounds perfect.
Adam
--
Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl