Message ID | 20220804070559.36e6e6fc@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | d2d53404ce37e576b18eebc29c1ff93c191407ba |
Headers | show |
Series | libtracefs: Add missed_events to record | expand |
diff --git a/src/tracefs-events.c b/src/tracefs-events.c index 61a1c122e74e..d870241e127f 100644 --- a/src/tracefs-events.c +++ b/src/tracefs-events.c @@ -46,6 +46,7 @@ static int read_kbuf_record(struct cpu_iterate *cpu) cpu->record.ts = ts; cpu->record.size = kbuffer_event_size(cpu->kbuf); cpu->record.record_size = kbuffer_curr_size(cpu->kbuf); + cpu->record.missed_events = kbuffer_missed_events(cpu->kbuf); cpu->record.cpu = cpu->cpu; cpu->record.data = ptr; cpu->record.ref_count = 1;