Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2018 15:53:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230846] dtrace FBT doesn't know about ifuncs
Message-ID:  <bug-230846-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230846

            Bug ID: 230846
           Summary: dtrace FBT doesn't know about ifuncs
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

FBT creates entry/return probes for functions which have a corresponding ELF
symbol.  For e.g., copyout(), we'll get fbt::copyout{,_smap,_nosmap}:entry.=
=20
Now users need to know which one to select.  In particular, fbt::copyout:en=
try
never fires now.

I think FBT should be made to treat STT_GNU_IFUNC symbols specially: when
enabling a probe on such a function, invoke the resolver to find the true
address, and put a probe there instead.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230846-227>