Skip to content

Use xctrace on macOS #368

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

Closed
wants to merge 2 commits into from
Closed

Use xctrace on macOS #368

wants to merge 2 commits into from

Conversation

ldm0
Copy link
Contributor

@ldm0 ldm0 commented Mar 23, 2025

Now that jonhoo/inferno#286 has been merged, we can switch to xctrace backend on macOS. The major difference is that xctrace no longer requires root right.

fixes #192

e.g. A flameggraph of https://github.com/serde-rs/json-benchmark:

flamegraph_xctrace

Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

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

Thanks, this looks good! Some minor nits to address.

@djc
Copy link
Contributor

djc commented Apr 9, 2025

Your changes don't build on Windows, want to address the CI failures here? Would be nice to merge this!

@allenbenz allenbenz mentioned this pull request Apr 27, 2025
@djc
Copy link
Contributor

djc commented Apr 28, 2025

Merged via #374, thanks!

@djc djc closed this Apr 28, 2025
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.

Use xctrace on macOS
2 participants