This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/24199] misleading error when providing wrong printf format for pid().
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 15 Feb 2019 19:51:25 +0000
- Subject: [Bug tapsets/24199] misleading error when providing wrong printf format for pid().
- Auto-submitted: auto-generated
- References: <bug-24199-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24199
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |fche at redhat dot com
Resolution|--- |FIXED
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
After commit d36f6fe, we get:
./stap -p2 -e '
probe vfs.read {
printf("%s %s %s\n", execname(), pid(), pathname);
}'
semantic error: unknown type in dereference: operator '->' at
...../tapset/linux/dev.stp:73:11
source: hd = bdev->bd_disk
^
semantic error: type mismatch: expected string but found long: identifier 'pid'
at <input>:3:42
source: printf("%s %s %s\n", execname(), pid(), pathname);
^
Pass 2: analysis failed. [man error::pass2]
Number of similar error messages suppressed: 30.
Rerun with -v to see them.
So the second message is no longer hidden.
Suppressing the first message (which is a real problem but one that doesn't
impact this end-user script) will be tackled under separate cover.
--
You are receiving this mail because:
You are the assignee for the bug.