Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 2015 10:22:39 +0430
From:      HeTak <hetakcoder@gmail.com>
To:        freebsd-dtrace@freebsd.org
Subject:   How to get functions' local variables?
Message-ID:  <CAGyHxXWpAsk5NcucOYMCj13keOjAZ1JCEUV0VrTfMStxp2Zjgg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi there,

My question is: How I can check a function's local varibales' value using
dtrace?

I'm a newbie in using dtrace and it's a bit weird for me..I went through
manuals and so, but did not get that. :(

What I could find out is that via args, I can get functions' input
arguments. But I could not find out how I can check the value of a variable
which is defined inside my goal function's scope. Isn't this feature
available in Dtrace?

Thanks :)

--HeTaK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGyHxXWpAsk5NcucOYMCj13keOjAZ1JCEUV0VrTfMStxp2Zjgg>