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

How to use kprobe to generate code files? #133

Open
dierbei opened this issue Aug 6, 2023 · 1 comment
Open

How to use kprobe to generate code files? #133

dierbei opened this issue Aug 6, 2023 · 1 comment

Comments

@dierbei
Copy link

dierbei commented Aug 6, 2023

I used the following command to create a project and selected kprobe:

cargo generate https://github.com/aya-rs/aya-template

I checked the kprobe example in the repository and found the binding.rs file.

I don't know how to generate this file, what should I do to achieve the same effect?

image

@dierbei
Copy link
Author

dierbei commented Aug 6, 2023

This is my generated project directory:

image

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

No branches or pull requests

1 participant