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

CP-51209: hooks for bpftrace #6179

Merged
merged 2 commits into from
Feb 4, 2025
Merged

Conversation

edwintorok
Copy link
Contributor

eBPF exitprobes do not work on OCaml functions that are tailcalls. Introduce some noop hooks that are forced to be non-tailcalls, by disabling inlining on them.
This enables bpftrace to be able to hook these functions for debugging and performance measurement purposes, and otherwise have negligible runtime impact (just a function call and a return).

@edwintorok edwintorok changed the base branch from feature/perf to master February 4, 2025 17:15
@edwintorok edwintorok marked this pull request as ready for review February 4, 2025 17:15
@edwintorok edwintorok added this pull request to the merge queue Feb 4, 2025
Merged via the queue into xapi-project:master with commit 8862cfc Feb 4, 2025
15 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Feb 4, 2025
Builds on top of #6177 and
#6179, the commit new in
this PR is CP-49141.
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