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

Rename Bpf -> Ebpf #105

Closed
wants to merge 3 commits into from
Closed

Rename Bpf -> Ebpf #105

wants to merge 3 commits into from

Conversation

Frohlix
Copy link

@Frohlix Frohlix commented Mar 11, 2024

Because of aya-rs/aya#528, the template is out of date and generates broken code.
The first commit fixes the broken dependency (aya-ebpf).
The second commit isn't strictly necessary since Bpf/BpfLogger still work, but they are deprecated.
Whether the variable bpf in {{project-name}}/src/main.rs should also be renamed to ebpf is a question of taste, so I left it out.

@Frohlix Frohlix marked this pull request as draft March 11, 2024 14:07
@Frohlix
Copy link
Author

Frohlix commented Mar 11, 2024

Missed the Bpf on line 93

@Frohlix Frohlix marked this pull request as ready for review March 11, 2024 14:10
@Frohlix Frohlix marked this pull request as draft March 11, 2024 20:01
@vadorovsky
Copy link
Member

@Frohlix Look at the CI failures, they look legit - you still have some aya_bpf imports left.

@Frohlix Frohlix closed this Mar 15, 2024
@vadorovsky
Copy link
Member

@Frohlix Why did you close this PR?

I think it would be good to go after not so many changes. The CI errors were due to aya-bpf (instead of aya-ebpf) being mentioned in Cargo.toml. Would you be up for re-opening this PR and applying that little change?

If for any reason, you don't want to continue the work on this, I'm happy to take over and preserve your authorship.

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.

2 participants