[Bug translator/14924] warn on complex $ptr->foo expressions in .return probes
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Nov 8 09:36:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=14924
--- Comment #3 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 9612
--> https://sourceware.org/bugzilla/attachment.cgi?id=9612&action=edit
working version of a patch
Funnily, I'm still a bit lost in this problem. Attached patch demonstrates
where I am now ;-) But it does something:
=======
$ stap -e 'probe process("./a.out").function("set2").return { println($y->x)
}' -c './a.out > /dev/null' -p2 > /dev/null
WARNING: WARN WARN WARN
$ stap -e 'probe process("./a.out").function("set2").return {
println(@entry($y->x)) }' -c './a.out > /dev/null' -p2 > /dev/null
$
=======
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list