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

Add Rust native symbolization library and C API wrapper #267

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christos68k
Copy link
Member

@christos68k christos68k commented Dec 6, 2024

This PR adds the Rust native symbolization framework that we developed at Elastic and now making available in OpenTelemetry as part of the ebpf-profiler project. We can use it to implement automatic on-target symbolization of native binaries (e.g. Go executables) but also to enable an OTel bulk native symbol upload protocol that we (Profiling SIG) can come together and specify.

Building through Cargo works and all tests are passing.

NOTE: This is the initial PR that introduces the Rust symbolization framework but does not resolve packaging and artifact questions. We may decide to split this out into a separate repository post-merge.

@christos68k christos68k requested review from a team as code owners December 6, 2024 20:50
@christos68k christos68k requested a review from athre0z December 6, 2024 20:54
@christos68k christos68k changed the title Add Rust native symbolization library and C wrapper Add Rust native symbolization library and C API wrapper Dec 6, 2024
@korniltsev
Copy link
Contributor

nit: Can we add target/ to .gitignore ?

christos68k and others added 2 commits January 2, 2025 12:27
This commit adds the Rust native symbolization framework that we developed
at Elastic and now making available in OpenTelemetry as part of the
ebpf-profiler project. We can use it to implement automatic on-target
symbolization of native binaries (e.g. Go executables) but also to enable an
OpenTelemetry bulk native symbol upload protocol.

Co-authored-by: Joel Höner <[email protected]>
Co-authored-by: Victor Michel <[email protected]>
Co-authored-by: Florian Lehner <[email protected]>
Co-authored-by: Tim Rühsen <[email protected]>
Co-authored-by: Davide Girardi <[email protected]>
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 this pull request may close these issues.

4 participants