This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11713] New: listing of available $variables should include $
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 Jun 2010 14:37:32 -0000
- Subject: [Bug translator/11713] New: listing of available $variables should include $
- Reply-to: sourceware-bugzilla at sourceware dot org
% 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.