public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/31708] New: Probe never handlers still emit C code for the handler handlers and probe local structs
@ 2024-05-07 20:32 agentzh at gmail dot com
  2024-05-07 21:16 ` [Bug translator/31708] " agentzh at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2024-05-07 20:32 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 31708
           Summary: Probe never handlers still emit C code for the handler
                    handlers and probe local structs
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: agentzh at gmail dot com
  Target Milestone: ---

It's quite wasteful to emit C code for the 'probe never' handlers. Both the C
code for the probe handlers and the handler local variables are emitted. These
should and also can be optimized out. I'll prepare a patch for this.

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

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

* [Bug translator/31708] Probe never handlers still emit C code for the handler handlers and probe local structs
  2024-05-07 20:32 [Bug translator/31708] New: Probe never handlers still emit C code for the handler handlers and probe local structs agentzh at gmail dot com
@ 2024-05-07 21:16 ` agentzh at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2024-05-07 21:16 UTC (permalink / raw)
  To: systemtap

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

agentzh <agentzh at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Pushed a fix as commit 59595fb7b4.

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

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

end of thread, other threads:[~2024-05-07 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-07 20:32 [Bug translator/31708] New: Probe never handlers still emit C code for the handler handlers and probe local structs agentzh at gmail dot com
2024-05-07 21:16 ` [Bug translator/31708] " agentzh at gmail 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).