libsysprof-analyze: add counter define document frames

This commit is contained in:
Christian Hergert
2023-05-22 14:12:53 -07:00
parent 752393d449
commit 29cfad06ec
6 changed files with 185 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include "sysprof-document-frame-private.h"
#include "sysprof-document-allocation.h"
#include "sysprof-document-ctrdef.h"
#include "sysprof-document-exit.h"
#include "sysprof-document-file-chunk.h"
#include "sysprof-document-fork.h"
@ -178,6 +179,10 @@ _sysprof_document_frame_new (GMappedFile *mapped_file,
gtype = SYSPROF_TYPE_DOCUMENT_JITMAP;
break;
case SYSPROF_CAPTURE_FRAME_CTRDEF:
gtype = SYSPROF_TYPE_DOCUMENT_CTRDEF;
break;
default:
gtype = SYSPROF_TYPE_DOCUMENT_FRAME;
break;