libsysprof-analyze: add bitset index

This is meant to be a simple index helper where we already have a bitset
created for a low-cardinality index. We can reuse the read-only bitset
and filter on the document itself.

This index will keep a reference on the document so it's lifetime persists.
This commit is contained in:
Christian Hergert
2023-05-08 12:23:14 -07:00
parent f5a97fa945
commit 7720f690e0
3 changed files with 155 additions and 0 deletions

View File

@ -21,6 +21,7 @@ libsysprof_analyze_public_sources = [
]
libsysprof_analyze_private_sources = [
'sysprof-document-bitset-index.c',
'sysprof-mapped-file.c',
'sysprof-memory-map.c',
'sysprof-mount-device.c',