-
Notifications
You must be signed in to change notification settings - Fork 275
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
RFC: include debug version for tracers in the git repository #225
Comments
Based on previous discussions, I think the consensus is not to store debug tracers in the repository. We might be able to get away with storing release tracers as their size is comparatively small but we should monitor performance and adapt to a different solution if that's problematic. |
Since tracers cannot yet be integrated as a package by third-party software, I support not storing debug tracers to the repository. However, I do suggest that build with debug tracer by default, without requiring an additional |
@tsint Can you open a separate issue for the " I do suggest that build with debug tracer by default, without requiring an additional make debug to build."? |
OK, I'll prepare it and create a new RFC at the right time. |
Can we close this issue? |
This RFC originates from a discussion on slack.
Currently only release ELFs for the eBPF programs checked into the repository.
support/ebpf/tracer.ebpf.release.amd64
accounts for 291 KBytes andsupport/ebpf/tracer.ebpf.release.arm64
for 283 KBytes. Every time something changes in the eBPF programs, these ELFs need to be updated and will account for some space in the git repository.When using this repository as dependency, it is currently not possible without additional steps to load the eBPF programs with debug symbols, as they do not exist by default.
If the eBPF programs with debug information will be added to the repository, the size of the repository will increase. At the moment,
support/ebpf/tracer.ebpf.debug.amd64
does have a size of 1.4 MBytes andsupport/ebpf/tracer.ebpf.debug.arm64
also does have a size of 1.4 MBytes.Some previous and related discussions were also happening in #145. Other OTel SIGs do have similar discussions ongoing - e.g. open-telemetry/opentelemetry-go-instrumentation#1233
For visibility - friendly ping to people that were involved in the discussion on slack: @umanwizard @Gandem @rockdaboot @athre0z @dmathieu
The text was updated successfully, but these errors were encountered: