Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4995 Discussions

vtune ERROR: PMU resources currently being used by another profiling tool or process

LIU_Q_
Beginner
485 Views

When I ran Hardware Event-based Sampling Analysis 0, it showed the ERROR:

Collection failed

Collection failed. The data cannot be displayed.

PMU resource(s) currently being used by  another profiling tool or process.

I don't know why.

 

0 Kudos
2 Replies
David_A_Intel1
Employee
485 Views

Hi LIU Q.

Did you previously run a collection and kill the Amplifier XE GUI or command line?  I can't tell you exactly "why" it happened in your case, but I can tell you it happens when a collection is started and then abnormally terminated.

You can free up the "PMU resources" by unloading and reloading the SEP driver.  As root, go to <amplifier-xe-installation-directory>/sepdk/src and execute './insmod-sep3 -r'.  This command will reload the drivers.  After successfully reloading the drivers, you should be able to collection data.  NOTE: if you have access restrictions on the drivers, you need to provide that info via the command line options of insmod-sep3 (use ./insmod-sep3 -?' for a list of options).

0 Kudos
Jonathan_E_
Beginner
485 Views

Hi,

After following MrAndreson's instruction I got:

Cannot enable Hardware Event-based Sampling: problem with the driver (sep*/sepdrv*)

Work around was the following commands

usermod -a -G vtune $USER

exec su -l $USER

 

#Note: you need to reload any needed environment variables.

0 Kudos
Reply