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

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

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.

 

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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).

Regards, MrAnderson

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.

Login to leave a comment.