[Bug translator/2643] probe point wildcard expansion excessively optimistic

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri May 5 23:29:00 GMT 2006


------- Additional Comments From fche at redhat dot com  2006-05-05 23:29 -------
The patch for bug #2433 awakened a latent bug in the translator that expands
probe point wildcards.  The same problem appears with this case:

probe a.a.a = begin { }
probe a.b = begin { }
probe a.*.a  { }

The wildcard should expand to "a.a.a" only, but since it proceeds naively one
component at a time and lacks lookahead, it also expands to "a.b.a".

One quick hack as a workaround until the real fix is to add back some dummy
probe aliases for the two recently deceased.

probe syscall.exit.return = end {}
probe syscall.exit_group.return = end {}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eteo at redhat dot com
            Summary|Translator fails pass 2 if  |probe point wildcard
                   |probe alias does not have   |expansion excessively
                   |the matching .return alias  |optimistic


http://sourceware.org/bugzilla/show_bug.cgi?id=2643

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list