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/11858] Confusing error message with get_kretprobe_long


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


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