libsysprof-analyze: add basic symbol cache

This relies on begin/end range for the symbols to create something akin to
an interval tree, albeit with GSequence. If performance needs to be
addressed, can probably augment SysprofSymbol for an interval rbtree.
This commit is contained in:
Christian Hergert
2023-05-10 15:14:09 -07:00
parent 0b0fe9f903
commit b3a4c295c3
7 changed files with 229 additions and 21 deletions

View File

@ -29,6 +29,7 @@ libsysprof_analyze_private_sources = [
'sysprof-mount-device.c',
'sysprof-mount-namespace.c',
'sysprof-strings.c',
'sysprof-symbol-cache.c',
]
libsysprof_analyze_public_headers = [