This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11858] Confusing error message with get_kretprobe_long
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 30 Jul 2010 16:26:51 -0000
- Subject: [Bug translator/11858] Confusing error message with get_kretprobe_long
- References: <20100730130740.11858.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.