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

feat: Improved bpf_loop probe #301

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

vadorovsky
Copy link
Member

@vadorovsky vadorovsky commented Jun 22, 2024

The previously used ASM probe didn't work reliably on new kernels, which were rejecting the program, because of lack of valid function pointer being used as a callback.

Introduce a small C probe which has a minimal, but valid bpf_loop call.

Fixes #300

@vadorovsky vadorovsky force-pushed the vadorovsky/improved-bpf-loop-probe branch 3 times, most recently from 94643a9 to 81c30d0 Compare June 24, 2024 10:19
The previously used ASM probe didn't work reliably on new kernels, which
were rejecting the program, because of lack of valid function pointer
being used as a callback.

Introduce a small C probe which has a minimal, but valid `bpf_loop`
call.

Fixes #300
@vadorovsky vadorovsky force-pushed the vadorovsky/improved-bpf-loop-probe branch from 81c30d0 to 823ddcb Compare June 25, 2024 14:43
@banditopazzo banditopazzo added the bug Something isn't working label Jun 26, 2024
@banditopazzo banditopazzo merged commit 2e175fe into main Jun 26, 2024
21 checks passed
@banditopazzo banditopazzo deleted the vadorovsky/improved-bpf-loop-probe branch June 26, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bpf_loop not detected
2 participants