HomeFreeBSD

libproc: Cache symbol tables for mapped objects upon access.

Description

libproc: Cache symbol tables for mapped objects upon access.

Extend the file handle cache entries to include symbol tables as well. An
index is used to implement binary search by symbol value. Lookups by
name are comparatively rare and are thus still implemented with a linear
search, but support for a binary search by name would be straightforward
to add if needed.

Details

Provenance
markjAuthored on
Parents
rS309595: libproc: Match prefixes when looking up mapped object by name.
Branches
Unknown
Tags
Unknown