https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230846

            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: b...@freebsd.org
          Reporter: ma...@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. 
Now users need to know which one to select.  In particular, fbt::copyout:entry
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to