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/2643] probe point wildcard expansion excessively optimistic


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


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