libsysprof: give internal access to allocations bitset

This commit is contained in:
Christian Hergert
2023-08-14 15:56:10 -07:00
parent 45f08e07c9
commit a27eee8087
2 changed files with 9 additions and 0 deletions

View File

@ -2678,3 +2678,11 @@ _sysprof_document_get_frames (SysprofDocument *self)
return g_array_ref (self->frames);
}
EggBitset *
_sysprof_document_get_allocations (SysprofDocument *self)
{
g_return_val_if_fail (SYSPROF_IS_DOCUMENT (self), NULL);
return egg_bitset_ref (self->allocations);
}