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

btf: fix IntEncoding #797

Merged
merged 1 commit into from Sep 20, 2022
Merged

btf: fix IntEncoding #797

merged 1 commit into from Sep 20, 2022

Commits on Sep 20, 2022

  1. btf: fix IntEncoding

    We currently treat IntEncoding as if it was a set of flags, but the
    kernel and bpftool treat it like an enum. Additionally, clang doesn't
    generate Char encodings in the first place.
    
    Remove the Is* methods on IntEncoding since they give users the wrong
    idea of how the type works. Tidy up GoFormatter to be more strict when
    outputting Int.
    
    Updates cilium#656
    lmb committed Sep 20, 2022
    Copy the full SHA
    3147ee6 View commit details
    Browse the repository at this point in the history