mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: ensure we inflate Metadata objects
This commit is contained in:
@ -31,6 +31,7 @@
|
||||
#include "sysprof-document-log.h"
|
||||
#include "sysprof-document-jitmap.h"
|
||||
#include "sysprof-document-mark.h"
|
||||
#include "sysprof-document-metadata.h"
|
||||
#include "sysprof-document-mmap.h"
|
||||
#include "sysprof-document-overlay.h"
|
||||
#include "sysprof-document-process.h"
|
||||
@ -167,6 +168,10 @@ _sysprof_document_frame_new (GMappedFile *mapped_file,
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_MARK;
|
||||
break;
|
||||
|
||||
case SYSPROF_CAPTURE_FRAME_METADATA:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_METADATA;
|
||||
break;
|
||||
|
||||
case SYSPROF_CAPTURE_FRAME_PROCESS:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_PROCESS;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user