mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: add SysprofDocumentJitmap
This adds a specific frame type for the Jitmap frames in the capture files. You can iterate them without having to bswap as well, which is why this does not use the SysprofCaptureJitmapIter (which does require bswap'd frames).
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
#include "sysprof-document-file-chunk.h"
|
||||
#include "sysprof-document-fork.h"
|
||||
#include "sysprof-document-log.h"
|
||||
#include "sysprof-document-jitmap.h"
|
||||
#include "sysprof-document-mark.h"
|
||||
#include "sysprof-document-mmap.h"
|
||||
#include "sysprof-document-overlay.h"
|
||||
@ -173,6 +174,10 @@ _sysprof_document_frame_new (GMappedFile *mapped_file,
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_OVERLAY;
|
||||
break;
|
||||
|
||||
case SYSPROF_CAPTURE_FRAME_JITMAP:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_JITMAP;
|
||||
break;
|
||||
|
||||
default:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_FRAME;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user