Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4699 Discussions

Different behavior of Vtune for root and non-root users

Jie_Jiang
Beginner
137 Views

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
Peter_W_Intel
Employee
137 Views

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

Reply