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

Can't get sampling to work on Windows #814

Open
dmalyuta opened this issue Jun 16, 2024 · 3 comments
Open

Can't get sampling to work on Windows #814

dmalyuta opened this issue Jun 16, 2024 · 3 comments

Comments

@dmalyuta
Copy link

For the life of me I cannot figure out why sampling mode is not working for me. I compiled my application with Tracy, zoning / instrumentation modes work as expected, but sampling just does not show up. I am running the application with admin rights, yet all I see is:

image

Am I missing some crucial, simple step, to get sampling to work?

@eclazi
Copy link
Sponsor

eclazi commented Jul 1, 2024

Does it work with other ETW based sampling profilers like UIforETW or visuals studios CPU profiler? I've had issues before after installing vtune broke access to the cpu sampling functionality

@dmalyuta
Copy link
Author

dmalyuta commented Jul 2, 2024

It works fine with visual studio's CPU profiler, and also with Superluminal which is also sampling-based.

@eclazi
Copy link
Sponsor

eclazi commented Jul 2, 2024

Maybe restart you computer, sometimes the kernel tracing session doesn't get closed correctly if program doesn't exit cleanly

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