mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: add union for perf "lost" records
This commit is contained in:
@ -132,6 +132,15 @@ typedef struct _SysprofPerfEventTracepoint
|
||||
} SysprofPerfEventTracepoint
|
||||
SYSPROF_ALIGNED_END(1);
|
||||
|
||||
SYSPROF_ALIGNED_BEGIN(1)
|
||||
typedef struct _SysprofPerfEventLost
|
||||
{
|
||||
struct perf_event_header header;
|
||||
guint64 identifier;
|
||||
guint64 lost;
|
||||
} SysprofPerfEventLost
|
||||
SYSPROF_ALIGNED_END(1);
|
||||
|
||||
SYSPROF_ALIGNED_BEGIN(1)
|
||||
typedef union _SysprofPerfEvent
|
||||
{
|
||||
@ -143,6 +152,7 @@ typedef union _SysprofPerfEvent
|
||||
SysprofPerfEventMmap2 mmap2;
|
||||
SysprofPerfEventCallchain callchain;
|
||||
SysprofPerfEventTracepoint tracepoint;
|
||||
SysprofPerfEventLost lost;
|
||||
guint8 raw[0];
|
||||
} SysprofPerfEvent
|
||||
SYSPROF_ALIGNED_END(1);
|
||||
|
||||
Reference in New Issue
Block a user