Skip to content

Commit

Permalink
aya: Improved BTF Type API
Browse files Browse the repository at this point in the history
This commit removes reliance on generated BtfType structs, as
well as adding a dedicated struct for each BTF type. As such,
we can now add nice accessors like `bits()` and `encoding()`
for Int vs. inlined shift/mask operations.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
  • Loading branch information
dave-tucker committed Sep 1, 2022
1 parent 906c25f commit f34ebeb
Show file tree
Hide file tree
Showing 5 changed files with 1,564 additions and 832 deletions.
Loading

0 comments on commit f34ebeb

Please sign in to comment.