From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13319 invoked by alias); 13 Nov 2013 15:45:48 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 13296 invoked by uid 48); 13 Nov 2013 15:45:45 -0000 From: "jlebon at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/16165] New: @perf operator in error msgs is corrupted Date: Wed, 13 Nov 2013 15:45:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlebon at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00198.txt.bz2 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.