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

Per CPU map needed API and selftest #156

Merged
merged 5 commits into from Jun 27, 2022

Commits on Jun 27, 2022

  1. set bpf map value size

    Signed-off-by: grantseltzer <grantseltzer@gmail.com>
    grantseltzer committed Jun 27, 2022
    Copy the full SHA
    08626df View commit details
    Browse the repository at this point in the history
  2. selftest for using percpu arrays

    Signed-off-by: grantseltzer <grantseltzer@gmail.com>
    grantseltzer committed Jun 27, 2022
    Copy the full SHA
    dab28f0 View commit details
    Browse the repository at this point in the history
  3. Add API 'GetValueReadInto' which lets you specify the byte

    slice for the map lookup to read into
    
    Signed-off-by: grantseltzer <grantseltzer@gmail.com>
    grantseltzer committed Jun 27, 2022
    Copy the full SHA
    8d1134d View commit details
    Browse the repository at this point in the history
  4. Update selftest

    Signed-off-by: grantseltzer <grantseltzer@gmail.com>
    grantseltzer committed Jun 27, 2022
    Copy the full SHA
    a86cd83 View commit details
    Browse the repository at this point in the history
  5. Use new bpf_map__lookup_elem()

    Signed-off-by: grantseltzer <grantseltzer@gmail.com>
    grantseltzer committed Jun 27, 2022
    Copy the full SHA
    2a2b260 View commit details
    Browse the repository at this point in the history