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/11343] New: backward compatibility flags/conditionals


With recent language changes (@defined, try/catch), as well as
tapset changes, it becomes a concern that existing scripts written for
older versions of systemtap may stop working.  One way to address this
would be to introduce:

- a stap command line option  --stap-compat=VERSION
- which would populate a new systemtap.session field
- which would inform the parser to parse a subset/variant of the language as of
$VERSION
- also provide a preprocessor conditional for tapsets' use
  %( systemtap_v >= "1.2" %? ... %: ... %)

-- 
           Summary: backward compatibility flags/conditionals
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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