[Bug runtime/6849] $$vars fails to display local variables on ppc64 system

srinivasa at in dot ibm dot com sourceware-bugzilla@sourceware.org
Tue Aug 19 13:15:00 GMT 2008


------- Additional Comments From srinivasa at in dot ibm dot com  2008-08-19 13:14 -------
(In reply to comment #1)
> A ".return" probe cannot have access to locals within a function body,
> since none are in scope.  It can at best show (entry-time snapshotted
> copies of) function parameters.
> 

Frank
 Iam not able see values of local variables in below scenarios too. 

=====================================
[root@llm27lp1 src]# ./stap -e 'probe syscall.open { printf("%s \n", $$vars)}'
filename=0x10020cf6 flags=0x880 mode=0x0 ret=?
filename=0x10020cf6 flags=0x880 mode=0x0 ret=?
filename=0x20006d30 flags=0x0 mode=0x1b6 ret=?
filename=0x20006c50 flags=0x0 mode=0x1b6 ret=?
================================================
[root@llm27lp1 src]# ./stap -e 'probe
kernel.statement("sys_open@fs/open.c:1039") { printf("%s \n", $$vars)}'
filename=0x10020cf6 flags=0x880 mode=0x0 ret=?
filename=0x10020cf6 flags=0x880 mode=0x0 ret=?
=====================================================



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6849

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list