cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

cbielow
Journeyman III

AMDuProf does not resolve symbols

Hi everyone,

I've been trying to obtain a flamegraph using AMDuProf 3.4.494 (latest version as of now) on Win10, but it is only showing hex offsets rather than function names.

I have enabled CSS with FPO using my own binaries for which I have .pdb files in the same directory as the binary (using VS2019 in ReleaseWithDebug build) as well as the example AMDTClassicMatMul.exe as shipped with the installation. I added the symbol directories in the GUI, but it did not help.

The machine had VS2019 and two Win10 SDKs installed, thus during install, the sub-installers did not go through, but AMDuProf installed successfully.

 

To reproduce, this does not resolve symbols on my machine:

---------------------

AMDuProfCLI.exe collect --config tbp -o c:\temp\cpu-prof -v 3 --call-graph 1:16:user:fpo "C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe"

AMDuProfCLI.exe report -i c:\temp\cpu-prof.prd -v 3 --symbol-path "C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin" --bin-path "C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin"

==============

 

Specs: Win10, Ryzen 1700, AMDuProf 3.4.494

 

The csv output looks like this (no debug symbols found)

 

-------------------


AMDuProf PROFILE REPORT

EXECUTION
Target Path:,"C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe"
Command Line Arguments:
Working Directory:,"C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin"
Environment Variables:
CPU Details:,"Family(0x17), Model(0x1), Number of Cores(16)"
Operating System:,"Win10RS1-64"

PROFILE DETAILS
Profile Session Type:,"Time-based Sampling"
Profile Scope:,"Single Application"
CPU Mask:,"0-15"
CPU Affinity Mask:,"0-15"
Profile Start Time:,"Sep-27-2021_21-35-11"
Profile End Time:,"Sep-27-2021_21-35-14"
Profile Duration:,"3 seconds"
Data Folder:,"c:\temp"
Virtual Machine:,"Yes"
Hypervisor Vendor:,"Microsoft Hyper-V"
Call Stack Sampling:,"True"
Call Stack Unwind Depth:,"16"
Call Stack Scope:,"User space"
Call Stack Overcome frame-pointer omission:,"True"
Call Stack Unwind Frequency:,"1"

Monitored Events:,Name,Interval
,"CPU Time",1000 micro seconds

"HOT FUNCTIONS (Sort Event - CPU_TIME)"
FUNCTION,"CPU_TIME" (seconds),"Module"
"AMDTClassicMatMul.exe!0x7ff625ca12ca",0.4400,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca12c6",0.4380,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca12aa",0.1570,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca1280",0.1200,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca12c0",0.0600,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca12b5",0.0120,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca1279",0.0110,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca12d3",0.0110,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca1287",0.0100,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe
"AMDTClassicMatMul.exe!0x7ff625ca126d",0.0080,C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe


"HOT PROCESSES (Sort Event - CPU_TIME)"
PROCESS,"CPU_TIME" (seconds)
C:\Program Files\AMD\AMDuProf\Examples\AMDTClassicMatMul\bin\AMDTClassicMatMul.exe (PID - 27880),1.3270

Function Detail Data
Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca12ca" (DEBUG INFO NOT FOUND),0.4400

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca12c6" (DEBUG INFO NOT FOUND),0.4380

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca12aa" (DEBUG INFO NOT FOUND),0.1570

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca1280" (DEBUG INFO NOT FOUND),0.1200

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca12c0" (DEBUG INFO NOT FOUND),0.0600

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca12b5" (DEBUG INFO NOT FOUND),0.0120

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca1279" (DEBUG INFO NOT FOUND),0.0110

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca12d3" (DEBUG INFO NOT FOUND),0.0110

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca1287" (DEBUG INFO NOT FOUND),0.0100

Function,"CPU_TIME" (seconds)
"AMDTClassicMatMul.exe!0x7ff625ca126d" (DEBUG INFO NOT FOUND),0.0080

====================

 

Any help would be appreciated.

 

cheers

Chris

 

 

0 Likes
1 Reply

Re: AMDuProf does not resolve symbols

Hello Chris, The issue has been fixed in upcoming release.  Will keep you posted on the release update.