* [Bug translator/11858] Confusing error message with get_kretprobe_long
[not found] <bug-11858-6586@http.sourceware.org/bugzilla/>
@ 2019-05-28 19:03 ` fche at redhat dot com
0 siblings, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2019-05-28 19:03 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=11858
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |fche at redhat dot com
Resolution|--- |WORKSFORME
--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
The current error message is pretty good:
% stap -e 'probe syscall.open.return { log("pid: " . pid()); }'
semantic error: type mismatch: expected string but found long: identifier 'pid'
at <input>:1:43
source: probe syscall.open.return { log("pid: " . pid()); }
^
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/11858] Confusing error message with get_kretprobe_long
2010-07-30 13:07 [Bug translator/11858] New: " mjw at redhat dot com
2010-07-30 13:18 ` [Bug translator/11858] " fche at redhat dot com
@ 2010-07-30 16:27 ` jistone at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2010-07-30 16:27 UTC (permalink / raw)
To: systemtap
------- 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/11858] Confusing error message with get_kretprobe_long
2010-07-30 13:07 [Bug translator/11858] New: " mjw at redhat dot com
@ 2010-07-30 13:18 ` fche at redhat dot com
2010-07-30 16:27 ` jistone at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-07-30 13:18 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2010-07-30 13:18 -------
Is this a duplicate of bug #11504?
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-28 19:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-11858-6586@http.sourceware.org/bugzilla/>
2019-05-28 19:03 ` [Bug translator/11858] Confusing error message with get_kretprobe_long fche at redhat dot com
2010-07-30 13:07 [Bug translator/11858] New: " mjw at redhat dot com
2010-07-30 13:18 ` [Bug translator/11858] " fche at redhat dot com
2010-07-30 16:27 ` jistone at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).