public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11756] New: tapset forward compatibility/deprecation support
@ 2010-06-25 18:30 mjw at redhat dot com
  2010-06-26 14:27 ` [Bug translator/11756] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mjw at redhat dot com @ 2010-06-25 18:30 UTC (permalink / raw)
  To: systemtap

PR11343 brought us backward compatibility flags/conditionals. Which allows you
to declare functionality as "safe" for a previous version. It would be nice to
extend this into the other direction. So you can easily mark functionality as
being deprecated (might be removed after version...). So that when you use
functionality that might be deprecated in the future you get a warning or with
something like --compatible=future things just don't build when using deprecated
functionality.

-- 
           Summary: tapset forward compatibility/deprecation support
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/11756] tapset forward compatibility/deprecation support
  2010-06-25 18:30 [Bug translator/11756] New: tapset forward compatibility/deprecation support mjw at redhat dot com
@ 2010-06-26 14:27 ` fche at redhat dot com
  2010-06-26 20:19 ` mjw at redhat dot com
  2010-06-27 14:25 ` [Bug translator/11756] warnings for deprecated declarations fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-06-26 14:27 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-06-25 17:23 -------
Something like this?

$ stap -V
(version 1.2)
$ stap -e '%( systemtap_v < "1.4" %? function foo () %) probe begin { foo () }'
WARNING: function foo may be deprecated as of release 1.4.


-- 


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/11756] tapset forward compatibility/deprecation support
  2010-06-25 18:30 [Bug translator/11756] New: tapset forward compatibility/deprecation support mjw at redhat dot com
  2010-06-26 14:27 ` [Bug translator/11756] " fche at redhat dot com
@ 2010-06-26 20:19 ` mjw at redhat dot com
  2010-06-27 14:25 ` [Bug translator/11756] warnings for deprecated declarations fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mjw at redhat dot com @ 2010-06-26 20:19 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-06-25 18:25 -------
(In reply to comment #1)
> Something like this?
> 
> $ stap -V
> (version 1.2)
> $ stap -e '%( systemtap_v < "1.4" %? function foo () %) probe begin { foo () }'
> WARNING: function foo may be deprecated as of release 1.4.

Yes, that looks useful.

-- 


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/11756] warnings for deprecated declarations
  2010-06-25 18:30 [Bug translator/11756] New: tapset forward compatibility/deprecation support mjw at redhat dot com
  2010-06-26 14:27 ` [Bug translator/11756] " fche at redhat dot com
  2010-06-26 20:19 ` mjw at redhat dot com
@ 2010-06-27 14:25 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-06-27 14:25 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|tapset forward              |warnings for deprecated
                   |compatibility/deprecation   |declarations
                   |support                     |


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-25 18:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-25 18:30 [Bug translator/11756] New: tapset forward compatibility/deprecation support mjw at redhat dot com
2010-06-26 14:27 ` [Bug translator/11756] " fche at redhat dot com
2010-06-26 20:19 ` mjw at redhat dot com
2010-06-27 14:25 ` [Bug translator/11756] warnings for deprecated declarations fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).