diff --git a/src/libsysprof/sysprof-perf-event-stream-private.h b/src/libsysprof/sysprof-perf-event-stream-private.h index b25c079d..4ac0fd1e 100644 --- a/src/libsysprof/sysprof-perf-event-stream-private.h +++ b/src/libsysprof/sysprof-perf-event-stream-private.h @@ -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);