This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11596] New: preprocessor oddity
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 May 2010 15:46:14 -0000
- Subject: [Bug translator/11596] New: preprocessor oddity
- Reply-to: sourceware-bugzilla at sourceware dot org
The following works fine:
====
%(kernel_v < "2.6.40" %?
probe end {}
%)
====
However, the following fails:
====
%(kernel_v < "2.6.40" %?
probe ioblock.* {}
%)
====
# stap -vp4 ../preprocessor.stp
parse error: expected identifier or '*'
saw: operator '*' at ../preprocessor.stp:2:15
source: probe ioblock.* {}
^
1 parse error(s).
Pass 1: parsed user script and 70 library script(s) using
33604virt/20496res/1604shr kb, in 170usr/20sys/202real ms.
Pass 1: parse failed. Try again with another '--vp 1' option.
(If nothing else, the error message is very confusing, since it complains it
found a '*' while looking for a '*'.)
--
Summary: preprocessor oddity
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11596
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.