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/12210] New: Allow extra suffixes on alias expansion


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

           Summary: Allow extra suffixes on alias expansion
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sources.redhat.com
        ReportedBy: jistone@redhat.com


We should allow instantiations of probe aliases to have trailing components,
suffixes, that apply to the underlying probepoints.  For example,
"syscall.open.return.maxactive(N)" would apply that maxactive component to
"sys_open" and "compat_sys_open" underneath.  This would also allow a probe
like "syscall.open" to work with para-callgraph, as both ".call" and ".return"
will be valid.

It gets a little tricky when an alias is named the same as something that could
also be a shorter alias with a suffix.  So "syscall.open.return" should match
only the exact full alias, and not "(syscall.open).return", the entry alias
with a new suffix.

It's even trickier when wildcards are involved - we probably want
"syscall.open.*" to expand to "(syscall.open).call" and "syscall.open.return",
but still not "(syscall.open).return".  When doubled as "syscall.open**", I
think the same policy will still work out.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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