libsysprof-analyze: start indexing counter defines

And add a SysprofDocumentCounter that will represent each counter. Still
to do is implementing the ctrdef type and a way to transform those into
the individual counters.
This commit is contained in:
Christian Hergert
2023-05-22 13:47:32 -07:00
parent fb80527d22
commit 57e7377c21
6 changed files with 258 additions and 0 deletions

View File

@ -2,6 +2,7 @@ libsysprof_analyze_public_sources = [
'sysprof-bundled-symbolizer.c',
'sysprof-document.c',
'sysprof-document-allocation.c',
'sysprof-document-counter.c',
'sysprof-document-exit.c',
'sysprof-document-file.c',
'sysprof-document-file-chunk.c',
@ -48,6 +49,7 @@ libsysprof_analyze_public_headers = [
'sysprof-bundled-symbolizer.h',
'sysprof-document.h',
'sysprof-document-allocation.h',
'sysprof-document-counter.h',
'sysprof-document-exit.h',
'sysprof-document-file.h',
'sysprof-document-file-chunk.h',