[Bug translator/11858] Confusing error message with get_kretprobe_long

jistone at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jul 30 16:27:00 GMT 2010


------- Additional Comments From jistone at redhat dot com  2010-07-30 16:26 -------
This isn't the fault of kretprobe-saving in particular, e.g.

$ stap -e 'probe syscall.open.return { log("pid: " . pid()); }'
semantic error: type mismatch (long vs. string): identifier 'pid' at
/usr/share/systemtap/tapset/context.stp:48:10
        source: function pid:long ()
                         ^
Pass 2: analysis failed.  Try again with another '--vp 01' option.

We ought to identify the *caller* as the type mismatch, not the callee.


-- 


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

------- 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