Skip to content

Commit

Permalink
fix(driver/kmod): always count when an event is dropped for some reason
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
  • Loading branch information
Andreagit97 authored and poiana committed Aug 8, 2024
1 parent 124428f commit 686dfc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2068,6 +2068,7 @@ static int record_event_consumer(struct ppm_consumer_t *consumer,
ring_info->n_drops_buffer++;
drops_buffer_syscall_categories_counters(event_type, ring_info);
} else {
ring_info->n_drops_buffer++;
ASSERT(false);
}
}
Expand Down

0 comments on commit 686dfc0

Please sign in to comment.