libsysprof-analyze: add SysprofDocumentCtrset

This represents the SysprofCaptureCtrset and allows fetching the raw values
for a given counter. These are raw because they may not be endian swapped
and that is the responsibility of the consumer.

SysprofDocument will use these eventually to store the values for a given
counter and the time of the value shift.
This commit is contained in:
Christian Hergert
2023-05-22 16:03:46 -07:00
parent c3a5771da0
commit 9d2f7d3767
6 changed files with 154 additions and 0 deletions

View File

@ -4,6 +4,7 @@ libsysprof_analyze_public_sources = [
'sysprof-document-allocation.c',
'sysprof-document-counter.c',
'sysprof-document-ctrdef.c',
'sysprof-document-ctrset.c',
'sysprof-document-exit.c',
'sysprof-document-file.c',
'sysprof-document-file-chunk.c',
@ -52,6 +53,7 @@ libsysprof_analyze_public_headers = [
'sysprof-document-allocation.h',
'sysprof-document-counter.h',
'sysprof-document-ctrdef.h',
'sysprof-document-ctrset.h',
'sysprof-document-exit.h',
'sysprof-document-file.h',
'sysprof-document-file-chunk.h',