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

Add codegen command to generate BTF bindings for kprobetcp #83

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zarvd
Copy link

@zarvd zarvd commented Jan 5, 2023

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

@netlify
Copy link

netlify bot commented Jan 5, 2023

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.

Copy link
Member

@vadorovsky vadorovsky left a comment

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
Copy link
Member

tamird commented Dec 9, 2024

@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