Skip to content

Add codegen command to generate BTF bindings for kprobetcp - #83

Open
clnv wants to merge 2 commits into
aya-rs:mainfrom
clnv:fix/krpobetcp-with-codegen
Open

Add codegen command to generate BTF bindings for kprobetcp#83
clnv wants to merge 2 commits into
aya-rs:mainfrom
clnv:fix/krpobetcp-with-codegen

Conversation

@clnv

@clnv clnv commented Jan 5, 2023

Copy link
Copy Markdown

Run cargo +nightly xtask codegen to generate krpobetcp-ebpf/src/bindings.rs.


This change is Reviewable

@netlify

netlify Bot commented Jan 5, 2023

Copy link
Copy Markdown

Deploy Preview for aya-rs ready!

Name Link
🔨 Latest commit 44e7d33
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs/deploys/63ce9e14297ac70008c5f537
😎 Deploy Preview https://deploy-preview-83--aya-rs.netlify.app/book/programs/probes
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@vadorovsky vadorovsky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

The code looks good, but I think we should include the info about cargo xtask codegen command also in the doc (docs/book/programs/probes.md), like here:

https://aya-rs.dev/book/programs/cgroup-skb/#generating-bindings-to-vmlinuxh

@tamird

tamird commented Dec 9, 2024

Copy link
Copy Markdown
Member

@zarvd do you plan to address the comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants