This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16165] New: @perf operator in error msgs is corrupted
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 13 Nov 2013 15:45:44 +0000
- Subject: [Bug translator/16165] New: @perf operator in error msgs is corrupted
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16165
Bug ID: 16165
Summary: @perf operator in error msgs is corrupted
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: jlebon at redhat dot com
The following command:
$ stap -e '
global x
probe perf.hw.cpu_cycles.process("/home/yyz/jlebon/towers.x").counter("a") {}
probe process("/home/yyz/jlebon/towers.x").function("main")
{
# wrong type
x = "b" . @perf("a")
}
'
gives as semantic error this:
semantic error: type mismatch: expected string but found long: identifier 'a'
at /home/yyz/jlebon/perf.stp:8:14
source: x = "b" . aperf("a")
^
Pass 2: analysis failed. [man error::pass2]
Notice the corruption from '@' to 'a'.
--
You are receiving this mail because:
You are the assignee for the bug.