-
Notifications
You must be signed in to change notification settings - Fork 69
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
libbpfgo: Libbpf v1.0 migration #826
Comments
The update has only been partial so far, here's how to make a full one: # Update Go module
go get github.com/aquasecurity/libbpfgo@v0.4.0-libbpf-1.0.0
go mod tidy
# Update Git submodule
cd 3rdparty/libbpf
git fetch --tags
git checkout v1.0.0
# Build
cd ../..
make clean
make build
# Run
sudo dist/parca-agent --node=test Everything works until you try to run it, the Full logs
If you update go get github.com/aquasecurity/libbpfgo@v0.4.0-libbpf-1.0.0.0.20220921161443-245a1a13132e
go mod tidy It seems to be a lot better, but what use to be a deprecation warning before is now an error in v1:
Looks like
|
Blocked by #294 |
No blockers after #869. |
Done by #901 |
Opening this issue to track the libbpf v1.0 migration:
main
#817caller=cpu.go:241 msg="failed to obtain profiles from eBPF maps" err="failed iterator: no such file or directory"
The text was updated successfully, but these errors were encountered: