This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11713] listing of available $variables should include $
- From: "wenji dot huang at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Jun 2010 03:14:43 -0000
- Subject: [Bug translator/11713] listing of available $variables should include $
- References: <20100617143732.11713.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wenji dot huang at oracle dot com 2010-06-18 03:14 -------
Created an attachment (id=4844)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4844&action=view)
patch
With this patch, the following message will be displayed,
$ ./stap -e 'probe kernel.function("sys_open"){print($foo)}'semantic error:
unable to find local 'foo' near pc 0xc04cf156 in sys_open(fs/open.c)
(alternatives: $filename $flags $mode $ret): identifier '$foo' at <input>:1:41
source: probe kernel.function("sys_open"){print($foo)}
^
Pass 2: analysis failed. Try again with another '--vp 01' option.
--
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.