This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/11713] listing of available $variables should include $


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]