mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
libsysprof: give internal access to allocations bitset
This commit is contained in:
@ -81,5 +81,6 @@ SysprofSymbol *_sysprof_document_thread_symbol (SysprofDocument *self,
|
|||||||
int tid);
|
int tid);
|
||||||
SysprofSymbol *_sysprof_document_kernel_symbol (SysprofDocument *self);
|
SysprofSymbol *_sysprof_document_kernel_symbol (SysprofDocument *self);
|
||||||
GArray *_sysprof_document_get_frames (SysprofDocument *self);
|
GArray *_sysprof_document_get_frames (SysprofDocument *self);
|
||||||
|
EggBitset *_sysprof_document_get_allocations (SysprofDocument *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|||||||
@ -2678,3 +2678,11 @@ _sysprof_document_get_frames (SysprofDocument *self)
|
|||||||
|
|
||||||
return g_array_ref (self->frames);
|
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);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user