cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

richardluo89
Journeyman III

AMD uProf Not Showing Performance Counters

Jump to solution

Hello!

I am trying to use AMD uProf to profile applications. However, I noticed that there is only one pre-defined profiling type "Time-based Sampling" available on my platform (Ryzen 9 3900X and X570). In the "Custom Profile" tab, the timer event is the only one listed there. Also at my home screen the power profiler is greyed out.

I am using Windows 10 20H2, and AMD uProf is running with administrator privilege. I noticed that the latest supported Windows version is 20H1. I would like to know is the OS version causing my problem?

Thanks!

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
swarup
Staff
Staff

Re: AMD uProf Not Showing Performance Counters

Jump to solution

Hi @richardluo89 ,

Please check if Hyper-V feature is enabled on the system? Events other than Time-based are not supported if the Hyper-V feature is enabled. You may need to reboot the system after disabling Hyper-V. Let us know if this helps.

View solution in original post

0 Kudos
3 Replies
swarup
Staff
Staff

Re: AMD uProf Not Showing Performance Counters

Jump to solution

Hi @richardluo89 ,

Please check if Hyper-V feature is enabled on the system? Events other than Time-based are not supported if the Hyper-V feature is enabled. You may need to reboot the system after disabling Hyper-V. Let us know if this helps.

View solution in original post

0 Kudos
richardluo89
Journeyman III

Re: AMD uProf Not Showing Performance Counters

Jump to solution

Hi @swarup ,

Thanks for the reply!

I have checked that Hyper-V is not enabled, but  I have WSL2 running in my system. After turning off the "Virtual Machine Platform" feature that is required by WSL2, I can have the performance counters now.

BTW, is there any plan for uProf to enable CPU profiling with WSL2 enabled?

0 Kudos
swarup
Staff
Staff

Re: AMD uProf Not Showing Performance Counters

Jump to solution

Hi @richardluo89 ,

Thank you for updating us. That is in our future plan, but it might take a while to add that support.