public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11713] New: listing of available $variables should include $
@ 2010-06-18 10:59 fche at redhat dot com
  2010-06-18 17:55 ` [Bug translator/11713] " wenji dot huang at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fche at redhat dot com @ 2010-06-18 10:59 UTC (permalink / raw)
  To: systemtap

% stap -L 'kernel.function("sys_open")'
kernel.function("sys_open@fs/open.c:1050") $filename:char const* $flags:int
$mode:int $ret:long int

properly adds $ to the available $context variables being listed, but in
error messages, we don't decorate the variables that way.

% stap -p2 -e 'probe kernel.function("sys_open") {println($foo)}'
semantic error: unable to find local 'foo' near pc 0xffffffff810e1df7 in
sys_open(fs/open.c) (alternatives: filename flags mode ret): identifier '$foo'
at <input>:1:44

-- 
           Summary: listing of available $variables should include $
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P3
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11713

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2010-06-22 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-18 10:59 [Bug translator/11713] New: listing of available $variables should include $ fche at redhat dot com
2010-06-18 17:55 ` [Bug translator/11713] " wenji dot huang at oracle dot com
2010-06-18 17:57 ` fche at redhat dot com
2010-06-21 12:35 ` wenji dot huang at oracle dot com
2010-06-22 14:03 ` wenji dot huang at oracle dot com
2010-06-22 19:36 ` fche 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).