[Bug translator/17966] New: @defined always returns true in return probes
aram.h at mgk dot ro
sourceware-bugzilla@sourceware.org
Thu Feb 12 21:32:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=17966
Bug ID: 17966
Summary: @defined always returns true in return probes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: aram.h at mgk dot ro
CC: jistone at redhat dot com
@defined can't be used in return probes because it always returns 1.
stap -e 'probe process("bash").function("*").return {r0 = @defined($_r0) ? $_r0
: 0; printf ("r0: %d\n", r0); exit ()}'
WARNING: function _start return probe is blacklisted: keyword at <input>:1:1
source: probe process("bash").function("*").return {r0 = @defined($_r0) ? $_r0
: 0; printf ("r0: %d\n", r0); exit ()}
^
semantic error: unresolved target-symbol expression: identifier '$_r0' at :1:67
source: probe process("bash").function("*").return {r0 = @defined($_r0)
? $_r0 : 0; printf ("r0: %d\n", r0); exit ()}
^
Pass 2: analysis failed. [man error::pass2]
: xgene:tmp;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list