mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: add SysprofDocumentCtrset
This represents the SysprofCaptureCtrset and allows fetching the raw values for a given counter. These are raw because they may not be endian swapped and that is the responsibility of the consumer. SysprofDocument will use these eventually to store the values for a given counter and the time of the value shift.
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
|
||||
#include "sysprof-document-allocation.h"
|
||||
#include "sysprof-document-ctrdef.h"
|
||||
#include "sysprof-document-ctrset.h"
|
||||
#include "sysprof-document-exit.h"
|
||||
#include "sysprof-document-file-chunk.h"
|
||||
#include "sysprof-document-fork.h"
|
||||
@ -183,6 +184,10 @@ _sysprof_document_frame_new (GMappedFile *mapped_file,
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_CTRDEF;
|
||||
break;
|
||||
|
||||
case SYSPROF_CAPTURE_FRAME_CTRSET:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_CTRSET;
|
||||
break;
|
||||
|
||||
default:
|
||||
gtype = SYSPROF_TYPE_DOCUMENT_FRAME;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user