libsysprof-analyze: load counter values with document

This commit is contained in:
Christian Hergert
2023-05-22 16:04:29 -07:00
parent 9d2f7d3767
commit 227362ea09
2 changed files with 69 additions and 3 deletions

View File

@ -27,6 +27,16 @@
G_BEGIN_DECLS
typedef struct _SysprofDocumentCounterValue
{
gint64 time;
union {
gint64 v_int64;
double v_double;
guint8 v_raw[8];
};
} SysprofDocumentCounterValue;
void _sysprof_document_new_async (GMappedFile *mapped_file,
GCancellable *cancellable,
GAsyncReadyCallback callback,