public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/16165] New: @perf operator in error msgs is corrupted
@ 2013-11-13 15:45 jlebon at redhat dot com
  2013-11-13 15:51 ` [Bug translator/16165] " jlebon at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jlebon at redhat dot com @ 2013-11-13 15:45 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-14 16:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 15:45 [Bug translator/16165] New: @perf operator in error msgs is corrupted jlebon at redhat dot com
2013-11-13 15:51 ` [Bug translator/16165] " jlebon at redhat dot com
2013-11-13 15:51 ` jlebon at redhat dot com
2013-11-13 15:53 ` jlebon at redhat dot com
2013-11-13 17:54 ` jistone at redhat dot com
2013-11-13 18:30 ` jlebon at redhat dot com
2013-11-13 22:36 ` jlebon at redhat dot com
2013-11-14 16:21 ` jlebon at redhat dot com
2013-11-14 16:54 ` jlebon at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).