HomeFreeBSD

Refine symtab sorting in libproc.

Description

Refine symtab sorting in libproc.

Add some rules to more closely match what illumos does when an address
resolves to multiple symbols:

  • prefer non-local symbols
  • prefer symbols with fewer leading underscores and no leading '$'

Add some regression tests to verify these rules.

Details

Provenance
markjAuthored on
Parents
rS326063: Annotate usdt/tst.eliminate.ksh as EXFAIL.
Branches
Unknown
Tags
Unknown