-
Notifications
You must be signed in to change notification settings - Fork 71
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
profiler: Add batch ebpf map operations (reloaded) #602
Conversation
Signed-off-by: Kemal Akkoyun <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
// We are getting and deleting the whole map, so there should not be a next batch. | ||
if nextCountKey != uintptr(0) { | ||
level.Debug(p.logger).Log("msg", "Next batch should be null", "nextBatch", nextCountKey) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that we're checking this 🎉
LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😄
Do we need to update the minikube ISO somewhere or it's automatically updated? Before merging, could you run an e2e test with the cpp binary if you haven't already?
We only document it and don't actually force any minikube iso version (except e2e tests cc @Sylfrena). I have already updated the documentation in repo and I have a PR to update parca.dev
Will do 👍 |
Was thinking of batch BPF operations in the context of cleaning up maps. Let's not forget to take a look at the profiles and see if it could be worth it to batch-delete our maps 😄 |
Some quick data (https://pprof.me/3f07325):
|
Signed-off-by: Kemal Akkoyun [email protected]