feat: implement otel-ebpf-profiler uprobe profiling #4663
+14
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
Naive implementation of the opentelemetry-ebpf-rpfoler uprobe profiling.
Still a WIP as I am not able to make this work on a local setup yet, I am running it with the same uprobe link for opentelemetry-ebpf-profiler in the same environnement:
-Alloy with this PR never report any TraceOriginUProbe in reportProfile PPROF reporter, I cannot find the reason yet.
-The opentelemetry-ebpf-rpfoler reporter does get TraceOriginUProbe with the same setups and uprobes.
Which issue(s) this PR fixes
It fixes #4660
Notes to the Reviewer
Let me know if I am missing a piece in my implementation to make it work
PR Checklist