Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic ringbuf event statistics #198

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Basic ringbuf event statistics #198

merged 2 commits into from
Jul 3, 2024

Commits on Jul 2, 2024

  1. Basic ringbuf event statistics

    This adds a new structure `ebpf_event_stats` where we accumulate stats, right
    now it only counts lost events vs non-lost events, but we can grow this in the
    future, like adding per type events if it's interesting enough.
    
    The print in EventsTrace is quite primitive as I believe this will only be used
    for debugging there, so heh.
    
    Choosing a name for `ebpf_ringbuf_write` was a bit tricky, I wanted to keep the
    same parameters but it had to be "different enough" that we could spot it with a
    naked eye.
    
    While here, adjust the enum of ebpf events to not skip that precious first bit.
    haesbaert committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    c8cfe75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2550cdd View commit details
    Browse the repository at this point in the history