I am trying to install uProf https://developer.amd.com/amd-uprof/ for c++ code profiling in my machine with a AMD Ryzen ThreadRipper 3960X.
I downloaded the .deb file and tried to install with:
sudo dpkg --install amduprof_x.y-z_amd64.deb
However, I get the error:
ERROR: Linux headers is required for installing AMD Power Profiler driver. Please install the sources using sudo apt-get install linux-headers-188.8.131.52-microsoft-standard-WSL2 and then start the installation again.
I tried to install the headers and got:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-184.108.40.206-microsoft-standard-WSL2 E: Couldn't find any package by glob 'linux-headers-220.127.116.11-microsoft-standard-WSL2' E: Couldn't find any package by regex 'linux-headers-18.104.22.168-microsoft-standard-WSL2'
I tried to check the headers I am using with:
What is the problem here?
Hello, Are you trying to profile your c++ code or you are doing power profile analysis? For profiling your c++ application you don't need to install Power profile driver. Since you are using uProf WSL - you need kernel files for that. Can you please explain your setup? i.e. you OS and Processor details?