aya-rs/book

How to use `kprobe` to generate code files?

Opened this issue · 1 comments

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

This is my generated project directory:

image