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

features: add HaveProgramHelper API #375

Merged
merged 2 commits into from May 23, 2022
Merged

Commits on May 19, 2022

  1. features: add HaveProgramHelper API

    `HaveProgramHelper(pt ebpf.ProgramType, helper asm.BuiltinFunc) error`
    allows to probe the available BPF helpers to a given BPF program
    type. Probe results are cached and run at most once.
    
    Signed-off-by: Robin Gögge <r.goegge@gmail.com>
    rgo3 committed May 19, 2022
    Copy the full SHA
    dda07c0 View commit details
    Browse the repository at this point in the history
  2. features: rename HaveProgType API

    In order to be in line with other naming schemes throughout
    the library this commit deprecates HaveProgType() in favor
    of HaveProgamType().
    
    Signed-off-by: Robin Gögge <r.goegge@gmail.com>
    rgo3 committed May 19, 2022
    Copy the full SHA
    83afbae View commit details
    Browse the repository at this point in the history