Skip to content

Commit

Permalink
aya: refactor handling of /proc/$pid/maps
Browse files Browse the repository at this point in the history
This commit refactors the handling of /proc/$pid/maps since the
collection previously assumed that all entries here could be
representeted in a HashMap. Those with a path component are stored
in a HashSet for fast lookup via library name. All other entries
are cached in a Vec to allow for filtering based on offsets, required
for supporting USDT probes.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
  • Loading branch information
dave-tucker committed Aug 9, 2023
1 parent e210012 commit 127860d
Show file tree
Hide file tree
Showing 2 changed files with 345 additions and 46 deletions.
Loading

0 comments on commit 127860d

Please sign in to comment.