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

Make sending large eBPF events more memory efficient #119

Merged

Commits on Nov 30, 2022

  1. Configuration menu
    Copy the full SHA
    6c296b8 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Configuration menu
    Copy the full SHA
    5d67737 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Configuration menu
    Copy the full SHA
    a3547a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4874c8d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6973a3e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d65a07e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    838cc39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    44f6bf2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45b1800 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    642c083 View commit details
    Browse the repository at this point in the history
  9. fix: make CI pass

    MatteoNardi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    75d94fe View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. misc(bpf-common): remove StringArray/DataArray

    Remove the deprecated StringArray and DataArray, which have been
    replaced by the dynamic buffer.
    
    See:
    - bpf-common/include/buffer.bpf.h
    - bpf-common/src/parsing/buffer_index.rs
    MatteoNardi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    3de875b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    643175e View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. fix(bpf-common): treat warnings in eBPF code as errors

    A warning was making all CI builds but x86_64 fail (I guess `-Werror`
    got somehow enabled)
    
    Also, since warnings are generally trivial to solve, but make the actual
    compiler output hard to decipher, I think it's better to force to
    address them.
    MatteoNardi committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    6acbe4f View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. misc: code cleanup

    MatteoNardi committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    c41ad7f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Configuration menu
    Copy the full SHA
    8958be4 View commit details
    Browse the repository at this point in the history
  2. fix(ebpf): correctly output only the used buffer

    Old code didn't take advantage of dynamic buffer and always wrote
    the whole event, even if most if it was unused.
    
    Create an output.bpf.h with macros and utility functions for emitting
    perf events.
    MatteoNardi committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    0e59abf View commit details
    Browse the repository at this point in the history
  3. fix(ebpf): restore MAX_PATH_COMPONENTS to 20

    Improve get_path_str and make it compatible again with 20 components, as
    before the dynamic buffer refactor.
    MatteoNardi committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    1be778f View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/main' into 73-make-sending-large…

    …-ebpf-events-more-memory-efficient
    MatteoNardi committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    a98214b View commit details
    Browse the repository at this point in the history