Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
24 Views

Different behavior of Vtune for root and non-root users

Hi,

I have installed Vtune 9.0 on Linux/Itanium 2 SMP and Vtune works well for root user with both callgraph and sampling data collectors.

However, when switching to a non-root user, the callgraph collector still works while the sampling collector failed.

The following is the cmd used to invoke vtune:


%vtl activity -c sampling -o "-ec en=CPU_OP_CYCLES-ALL" -app ./gsexample2a,"datafile.txt" -moi gsexample2a run

After the gsexampl2a application comleted, the following message appeared:

"ERROR: linux(Run 0) The Sampling Collector failed to collect data for an unknown reason."

Note that the vtune-drv module is loaded.

Why does Vtune behave differently?

How to solve this problem?

0 Kudos
1 Reply
Highlighted
Employee
24 Views

First guess that you have to add non-root user to "vtune" group. Regards, Peter

0 Kudos