public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/29676] New: wildcard function/symbol expansion inconsistent in debuginfo vs nondebuginfo cases
@ 2022-10-12 18:12 fche at redhat dot com
  2022-10-19 14:01 ` [Bug translator/29676] " rgoldber at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2022-10-12 18:12 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 29676
           Summary: wildcard function/symbol expansion inconsistent in
                    debuginfo vs nondebuginfo cases
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

Binaries sometimes contain symbol tables or minidebuginfo that systemtap can
resolve process probes within:

    stap -L 'process("/lib64/libc.so.6").function("__memset*")'

which match a bunch of assembler ifunc alternative functions by symbol name.

Unfortunately, if dwarf for this package is also available, then stap will
apparently only process the dwarf symbols, and not the minidebuginfo stuff,
so the same wildcard will produce an apprx. empty match list.

We should use the union of the two data sources if possible.

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

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

* [Bug translator/29676] wildcard function/symbol expansion inconsistent in debuginfo vs nondebuginfo cases
  2022-10-12 18:12 [Bug translator/29676] New: wildcard function/symbol expansion inconsistent in debuginfo vs nondebuginfo cases fche at redhat dot com
@ 2022-10-19 14:01 ` rgoldber at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: rgoldber at redhat dot com @ 2022-10-19 14:01 UTC (permalink / raw)
  To: systemtap

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

Ryan Goldberg <rgoldber at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rgoldber at redhat dot com
           Assignee|systemtap at sourceware dot org    |rgoldber at redhat dot com

--- Comment #1 from Ryan Goldberg <rgoldber at redhat dot com> ---
Created attachment 14405
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14405&action=edit
Submit A Patch for 29676 - Bugfix and test

-- 
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:[~2022-10-19 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 18:12 [Bug translator/29676] New: wildcard function/symbol expansion inconsistent in debuginfo vs nondebuginfo cases fche at redhat dot com
2022-10-19 14:01 ` [Bug translator/29676] " rgoldber 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).