libsysprof-analyze: move stack-depth to SysprofDocumentTraceable

This makes the property for depth a requirement, which will allow for
easier quierying from various listmodel filters.
This commit is contained in:
Christian Hergert
2023-04-28 13:16:07 -07:00
parent 8c5b4720c0
commit 760d573f92
4 changed files with 50 additions and 22 deletions

View File

@ -33,11 +33,9 @@ typedef struct _SysprofDocumentSample SysprofDocumentSample;
typedef struct _SysprofDocumentSampleClass SysprofDocumentSampleClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_document_sample_get_type (void) G_GNUC_CONST;
GType sysprof_document_sample_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
guint sysprof_document_sample_get_depth (SysprofDocumentSample *self);
SYSPROF_AVAILABLE_IN_ALL
int sysprof_document_sample_get_tid (SysprofDocumentSample *self);
int sysprof_document_sample_get_tid (SysprofDocumentSample *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofDocumentSample, g_object_unref)