cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

zlice
Journeyman III

AMDuProf not attaching to processes on Linux

This was working a few days ago but I updated my OS and some libraries along with it. Glibc, gcc, xorg, etc.

I tried running uProf 4.0.341 and it does not attach to processes - "the driver failed to start profiling. (error code 0x80004005)"

0 Likes
17 Replies

Hello,

Can you explain the issue in more details so that I could reproduce this on my machine here?

0 Likes
feliwir
Journeyman III

I'm facing the same issue on Fedora 37 with Linux:

"ERROR : The driver failed to start profiling. (error code 0x80004005)"

0 Likes

Hi, I tried reproducing this on our end here but could not.  Can you please elaborate more on what exactly you are doing...  that would help us reproduce the issue and help you use uProf successfully?

0 Likes
perpixel
Journeyman III

I'm facing the same issue on Fedora Silverblue 37. Any process I attach to or start profiling from uprof give me "The driver failed to start profiling. (error code 0x80004005)" screen. Same problem runnning sudo.

AMDuProf_Linux_x64_4.0.341.tar.bz2

Linux fedora37.fedora 6.0.15-300.fc37.x86_64

 

0 Likes

Can you share the output of below command:

AMDuProfCLI.exe info --system

0 Likes

This just gives the following error:

[stephan@fedora bin]$ ./AMDuProfCLI --system
ERROR: Invalid option or missing command.

Please note that executables on linux don't have an ".exe" extension

0 Likes
perpixel
Journeyman III

[OS Info]
OS Details : LinuxFedora Linux 37.20230104.0 (Silverblue)-64
Distribution Details :
Kernel Details : 6.0.15

[CPU Info]
AMD Cpu : Yes
Family : 0x19
Model : 0x21
Stepping : 0x0
Local APIC : Yes
Socket Count : 2
SMT Enabled : Yes
Threads per Core : 2
Threads per CCX : 16
Threads per Package : 16
Total number of Threads : 32

[PERF Features Availability]
Core PMC : Yes
L3 PMC : Yes
DF PMC : Yes
PERF TS : No

[IBS Features Availability]
IBS : Yes
IBS Fetch Sampling : Yes
IBS OP Sampling : Yes
IBS FetchCtlExtd : Yes
IBS ExtCount : Yes
IBS Dispatch : Yes
IBS BrTgtAddr : Yes
IBS OpData4 : No

[RAPL/CEF Features Availability]
RAPL : Yes
APERF & MPERF : Yes
Read Only APERF & MPERF : Yes
IRPERF : Yes
HW P-State Control : Yes

[PERF features supported by OS]
TBP Supported : Yes
EBP Supported : Yes
IBS Supported : Yes
IRPERF Supported : Yes
APERF Supported : Yes
MPERF Supported : Yes
BPF Supported : No
BCC Installed : No
Perf Event Paranoid : 2
Perf Event Max Mlock : 516 KB
Perf Event Max Stack : 127

[Hypervisor Info]
Hypervisor Enabled : No

0 Likes

Thanks for the info.  I am working on to reproduce this issue. I will keep you posted on this.

0 Likes

I could not find the build you used, but i could not reproduce the issue with Rawhide.20230112.n.0 (Silverblue Prerelease)-64.  Let me know if can test this or any other build which we both can use.

 

 

0 Likes

This just happens for the regular latest stable linux release of AMDuProf (AMDuProf_Linux_x64_4.0.341). Just go the downloads section😅

0 Likes

I tried to reproduce the problem you reported with latest fedora build, build i could not reproduce it.  I tried below build.

santosh_zanjurne_0-1674039473622.png

 

Can you try the latest build of Fedora and see if you still see the issue?

0 Likes

I don't know which Fedora you have installed. It should just show something like "LinuxFedora Linux 37":

feliwir_0-1674044618807.png

 

0 Likes

Hi, I think I have reproduced the issue - i will keep you posted on this work here.  Can you try to profile the application in the same terminal as your application is running?

0 Likes

Hi, I could not reproduce the issue you reported.  Do you think we can meet online and discuss the issue?  drop an email to toolchainsuppot at amd dot com and we shall work together to understand/resolve the issue.

0 Likes
meisme-dev
Journeyman III

I can reproduce this in Fedora 37 using the latest RPM

0 Likes

Hi 

I am not able to reproduce this issue on my fedora 37 instance
Can you please share the steps on how you have installed Fedora 37 along with the command used for attaching to the process.

Best Regards
Hemanth

0 Likes
vtangutu
Staff

Hello
Can you please share additional information which can help me in reproducing the error
Steps used for Fedora Installation
Fedora Edition(Server, Workstation, Silverblue)
Command used for Profiling
whether issue is observed in CLI or GUI
Application used for profiling

Best Regards
Hemanth

0 Likes