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

refactor bpf histogram indexing #249

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Commits on Apr 30, 2024

  1. refactor bpf histogram indexing

    The previous BPF histogram indexing was based on a reduction of the
    algorithm in an older version of the histogram crate that had both
    an a and b component. The latest histogram crate replaced those
    with a single grouping power.
    
    This change brings the indexing more in-line with the Rust version.
    Specific reductions and optimizations are made based on the specific
    values that we use throughout Rezolus.
    
    We also add indexing for grouping powers 4, 5, and 6 so that in the
    future we can use lower-resolution histograms for cases where we are
    doing per-group histograms (eg: per group of PIDs/TIDs) and would
    otherwise be adding a fair amount of memory footprint to Rezolus to
    enable scoped histograms.
    brayniac committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    843616f View commit details
    Browse the repository at this point in the history
  2. logging: add BPF program instruction counts

    Adds logging for the BPF program instruction counts when debug log
    is enabled.
    brayniac committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    3ccb245 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    203e21a View commit details
    Browse the repository at this point in the history
  4. address review feedback

    brayniac committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    e5ad20f View commit details
    Browse the repository at this point in the history
  5. address review feedback

    brayniac committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    2fd4d8f View commit details
    Browse the repository at this point in the history