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?