public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10300] Provide more macros for embedded-C functions
       [not found] <bug-10300-6586@http.sourceware.org/bugzilla/>
@ 2012-06-13 17:51 ` smakarov at redhat dot com
  2012-06-13 17:52 ` smakarov at redhat dot com
  2014-01-03 19:45 ` fche at redhat dot com
  2 siblings, 0 replies; 3+ messages in thread
From: smakarov at redhat dot com @ 2012-06-13 17:51 UTC (permalink / raw)
  To: systemtap

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

Serguei Makarov <smakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smakarov at redhat dot com

--- Comment #1 from Serguei Makarov <smakarov at redhat dot com> 2012-06-13 17:51:19 UTC ---
While fixing PR10299, implemented a couple additional helper macros:

  #define STAP_ARG_foo THIS->l_foo // automatically defined for each local
variable in a function
  #define STAP_RETVAL THIS->__retval

(All embedded-C functions are now required to use these macros, because the
naming scheme for local variables is now subject to change arbitrarily.) This
work happens to double as progress on PR10300.

The next logical step would probably to implement a STAP_RETURN(val) macro
similar to the one described above. Note that not all tapsets would wind up
using it -- STAP_RETVAL would still have to be available since some tapsets do
tricky in-place editing on e.g. string return values and forcing them to go
through STAP_RETURN would introduce an additional unnecessary copy step.

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

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

* [Bug translator/10300] Provide more macros for embedded-C functions
       [not found] <bug-10300-6586@http.sourceware.org/bugzilla/>
  2012-06-13 17:51 ` [Bug translator/10300] Provide more macros for embedded-C functions smakarov at redhat dot com
@ 2012-06-13 17:52 ` smakarov at redhat dot com
  2014-01-03 19:45 ` fche at redhat dot com
  2 siblings, 0 replies; 3+ messages in thread
From: smakarov at redhat dot com @ 2012-06-13 17:52 UTC (permalink / raw)
  To: systemtap

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

--- Comment #2 from Serguei Makarov <smakarov at redhat dot com> 2012-06-13 17:52:33 UTC ---
Sorry, that last comment should say STAP_RETVALUE, my mistake.

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

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

* [Bug translator/10300] Provide more macros for embedded-C functions
       [not found] <bug-10300-6586@http.sourceware.org/bugzilla/>
  2012-06-13 17:51 ` [Bug translator/10300] Provide more macros for embedded-C functions smakarov at redhat dot com
  2012-06-13 17:52 ` smakarov at redhat dot com
@ 2014-01-03 19:45 ` fche at redhat dot com
  2 siblings, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2014-01-03 19:45 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=10300

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fche at redhat dot com
         Resolution|---                         |FIXED

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
commit be2d22963b9e et ante.

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

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

end of thread, other threads:[~2014-01-03 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10300-6586@http.sourceware.org/bugzilla/>
2012-06-13 17:51 ` [Bug translator/10300] Provide more macros for embedded-C functions smakarov at redhat dot com
2012-06-13 17:52 ` smakarov at redhat dot com
2014-01-03 19:45 ` 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).