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

Use common macro for Uprobe return flow #257

Merged
merged 4 commits into from
Aug 19, 2023

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Aug 18, 2023

  • Use UPROBE_RETURN to declare the common uprobe return logic (finding the corresponding context, setting up end time, and sending the event via perf buffer)
  • BASE_SPAN_PROPERTIES as common fields for all instrumentations
  • Header guards

@RonFed RonFed marked this pull request as ready for review August 18, 2023 20:59
@RonFed RonFed requested a review from a team August 18, 2023 20:59
Copy link
Contributor

@edeNFed edeNFed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea @RonFed

include/uprobe.h Show resolved Hide resolved
@MrAlias MrAlias merged commit c134632 into open-telemetry:main Aug 19, 2023
10 checks passed
@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