libyssprof-analyze: add document type for allocations

This commit is contained in:
Christian Hergert
2023-04-28 11:44:30 -07:00
parent 6b762ef64a
commit 86561c0c4f
6 changed files with 236 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include "sysprof-document-frame-private.h"
#include "sysprof-document-allocation.h"
#include "sysprof-document-exit.h"
#include "sysprof-document-fork.h"
#include "sysprof-document-log.h"
@ -158,6 +159,10 @@ _sysprof_document_frame_new (GMappedFile *mapped_file,
gtype = SYSPROF_TYPE_DOCUMENT_FORK;
break;
case SYSPROF_CAPTURE_FRAME_ALLOCATION:
gtype = SYSPROF_TYPE_DOCUMENT_ALLOCATION;
break;
default:
gtype = SYSPROF_TYPE_DOCUMENT_FRAME;
break;