This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/14924] warn on complex $ptr->foo expressions in .return probes


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]