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

Fix offset tracker to build binaries for go stdlib as well #256

Merged
merged 7 commits into from
Aug 18, 2023

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Aug 17, 2023

The goal of this PR is to resolve the build issues with offset tracker #250 (comment)
In https://go-review.googlesource.com/c/go/+/475378 the DWARF symbols were removed from the release toolchain.
For finding the offsets of fields in the standard library, we download these binaries, however without DWARF, we can't analyze them.
To fix that, this PR builds a dummy app locally and uses it to find the offsets (same as done for libraries outside of the standard library)

@RonFed RonFed marked this pull request as ready for review August 17, 2023 15:10
@RonFed RonFed requested a review from a team August 17, 2023 15:10
offsets-tracker/README.md Show resolved Hide resolved
offsets-tracker/downloader/go_wrapper.go Show resolved Hide resolved
offsets-tracker/target/target.go Show resolved Hide resolved
RonFed and others added 2 commits August 18, 2023 10:49
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
CHANGELOG.md Outdated Show resolved Hide resolved
RonFed and others added 2 commits August 18, 2023 16:55
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@MrAlias MrAlias merged commit 5d50f0d into open-telemetry:main Aug 18, 2023
@MrAlias MrAlias mentioned this pull request Aug 18, 2023
@MrAlias MrAlias added this to the v0.3.0-alpha milestone Aug 22, 2023
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.

3 participants