Skip to content

Conversation

fabled
Copy link
Contributor

@fabled fabled commented Sep 1, 2025

  • use unique FrameMappingData to reduce the Frame size
  • construct FrameMappingData directly from the cached ELF info
  • remove the FileID LRU cache as unneeded
  • replace processmnanager.processInfo.mappings map with a sorted slice of the []Mappings
  • atomically do batch updates of the []Mappings
  • remove processmanager.processInfo.mappingsByFileID as redudant
  • remove processmanager/manager_test.go, the tests were about implementation, not functionality; and usually caused more trouble than benefit. coredump and integration tests cover the same area.

Follow up todo:

  • eim should probably get libpf.FrameMappingFile instead of host.FileID
  • eventually move processmanager.Mapping to interpreters and pass it as the mapping type

- use unique FrameMappingData to reduce the Frame size
- construct FrameMappingData directly from the cached ELF info
- remove the FileID LRU cache as unneeded
- replace processmnanager.processInfo.mappings map with a sorted
  slice of the []Mappings
- atomically do batch updates of the []Mappings
- remove processmanager.processInfo.mappingsByFileID as redudant

TODO:
- eim should probably get libpf.FrameMappingFile instead of host.FileID
- eventually move processmanager.Mapping to interpreters and pass it
  as the mapping type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant