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] New: listing of available $variables should include $


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


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