wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
8.61k stars 592 forks source link

Can't get sampling to work on Windows #814

Open dmalyuta opened 2 weeks ago

dmalyuta commented 2 weeks ago

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 commented 1 day ago

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 commented 20 hours ago

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

eclazi commented 7 hours ago

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