Bug 820320

Summary: WARNING: tapset '/usr/share/systemtap/tapset/qemu-kvm.stp' has errors
Product: Red Hat Enterprise Linux 6 Reporter: Eric Sandeen <esandeen>
Component: qemu-kvmAssignee: Asias He <asias>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, areis, bsarathy, dyasny, fche, juzhang, mkenneth, rhod, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-16 05:37:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Sandeen 2012-05-09 15:42:30 UTC
When running systemtap with qemu-qvm installed, I get:

# stap -e 'probe vfs.read {exit()}'
parse error: expected literal string or number
	saw: operator '=' at /usr/share/systemtap/tapset/qemu-kvm.stp:814:8
     source:   next = $arg1;
                    ^
1 parse error.
WARNING: tapset '/usr/share/systemtap/tapset/qemu-kvm.stp' has errors, and will be skipped.


fche says:

[10:38]  <fche> next is a keyword in stap language

Comment 2 Frank Ch. Eigler 2012-05-09 15:44:00 UTC
The list of keywords to avoid is: 

probe, global, function, if, else, for, foreach, in, limit, return, delete, while, break, continue, next, string, long, try, catch

Comment 3 juzhang 2012-05-10 08:56:48 UTC
Hi,Eric

Please use the qemu-kvm>=qemu-kvm-0.12.1.2-2.287.el6 and have a try,thanks
FYI
Bug 798676 - do not use next as a variable name in qemu-kvm systemtap tapset(verified)

Comment 5 RHEL Program Management 2012-07-10 08:51:43 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 6 RHEL Program Management 2012-07-11 02:07:23 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 7 Ronen Hod 2012-07-16 05:37:33 UTC

*** This bug has been marked as a duplicate of bug 798676 ***