mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: add SysprofDocumentFileChunk
This object will represent frames in the list model which are file chunks.
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
|
||||
#include "sysprof-document-allocation.h"
|
||||
#include "sysprof-document-exit.h"
|
||||
#include "sysprof-document-file-chunk.h"
|
||||
#include "sysprof-document-fork.h"
|
||||
#include "sysprof-document-log.h"
|
||||
#include "sysprof-document-mark.h"
|
||||
@ -163,6 +164,10 @@ _sysprof_document_frame_new (GMappedFile *mapped_file,
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_ALLOCATION;
|
||||
break;
|
||||
|
||||
case SYSPROF_CAPTURE_FRAME_FILE_CHUNK:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_FILE_CHUNK;
|
||||
break;
|
||||
|
||||
default:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_FRAME;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user