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

panic when using perf buffer with libbpf v0.6.1 #121

Closed
yanivagman opened this issue Jan 23, 2022 · 0 comments · Fixed by #123
Closed

panic when using perf buffer with libbpf v0.6.1 #121

yanivagman opened this issue Jan 23, 2022 · 0 comments · Fixed by #123

Comments

@yanivagman
Copy link
Collaborator

This behavior was observed when using Tracee with the latest changes (which bumped libbpfgo version and libbpf to v0.6.1).
Further details in aquasecurity/tracee#1383

@yanivagman yanivagman linked a pull request Jan 26, 2022 that will close this issue
rafaeldtinoco added a commit that referenced this issue Jan 26, 2022
Fix: #121

This commit forces libbpfgo.go C embedded source code function
init_perf_buf to use the new perf_buffer__new() API. This is needed to
make sure libbpf doesn't choose to execute compatible perf_buffer__new()
function prototype, causing execution issues (seg faults) in some
environments.
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 a pull request may close this issue.

1 participant