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

support per-cpu-threads for macOS #398

Open
hardfist opened this issue Oct 24, 2024 · 1 comment
Open

support per-cpu-threads for macOS #398

hardfist opened this issue Oct 24, 2024 · 1 comment

Comments

@hardfist
Copy link

really wanted this features in macOS, especially when debugging application using tokio, which spawns tons of threads and hard to profile

@mstange
Copy link
Owner

mstange commented Nov 22, 2024

I don't know of a way to get information about which core a thread was running on when we interrupted it with thread_suspend.

One idea I've been playing with is to add a recording code path where Instruments is used for recording, via xctrace. The files created by Instruments probably contain this information.

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

No branches or pull requests

2 participants