mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
mark: add group to mark event
This allows grouping marks together so that the UI can present marks within the same group in the same visualizer row. The goal here is that our perf stream with drm data will have "drm" or some similar group name (resulting in one row). mutter/cogl/gnome-shell will use the thread-id as the group name (or something else that is useful) so their events are grouped together. gdk-wayland might have it's own group name as well. The end result is that we can get a mark row for each series of related data.
This commit is contained in:
@ -184,7 +184,8 @@ typedef struct
|
||||
{
|
||||
SpCaptureFrame frame;
|
||||
gint64 duration;
|
||||
gchar name[32];
|
||||
gchar group[24];
|
||||
gchar name[40];
|
||||
gchar message[0];
|
||||
} SpCaptureMark;
|
||||
|
||||
@ -203,7 +204,7 @@ G_STATIC_ASSERT (sizeof (SpCaptureCounter) == 128);
|
||||
G_STATIC_ASSERT (sizeof (SpCaptureCounterValues) == 96);
|
||||
G_STATIC_ASSERT (sizeof (SpCaptureFrameCounterDefine) == 32);
|
||||
G_STATIC_ASSERT (sizeof (SpCaptureFrameCounterSet) == 32);
|
||||
G_STATIC_ASSERT (sizeof (SpCaptureMark) == 64);
|
||||
G_STATIC_ASSERT (sizeof (SpCaptureMark) == 96);
|
||||
|
||||
static inline gint
|
||||
sp_capture_address_compare (SpCaptureAddress a,
|
||||
|
||||
Reference in New Issue
Block a user