My vtune works well with native callgraph and sampling collectors.
The paltform is Linux/Itanium2 processor(Montecito).
However, when trying to do remote callgraph, I got errors.
On the terminal of the server(here I emulate the remote DC on the target server) with IP address x.x.x.x,
after vtserver is launched, I typed followingcmds to do remote callgraph :
vtl activity -c callgraph firstname.lastname@example.org -app ./a.out run
I got the following errors:
"Different host names were found in Data Collector description and appropriate Application Profile. Change one so that the hosts match."
Note that in my /etc/hosts file, the target server has several entries with different host names mapped to the same IP address.
How to solve this problem?
And another problem also with the remoted sampling.
Also on the terminal of the target server, after typing in the following cmd:
vtl activity -csampling email@example.com -app ./a.out run
I got the following error message:
[ERROR] The Sampling Collector failed to start because the driver is not loaded now!
However, I'm sure that the vtune_drv is installed! (using lsmod|grep vtune_drv)
How to explain this?
You should use - "vtl rdc-config -password
vtl rdc-config -password root@10,239,44,83, it will ask you enter password for "root". Then you can use
like as "vtl activity -c sampling,,10.239.44.83 -app /bin/ls,-exit,,10.239.44.83 run"
See more detail in "vtl -help"
Surely I have authenticated into the target machine. I just omitted the steps in my previous post.
An strange problem is that, when remotely collecting data with root, it works well.
The problems only occur with non-root users.
And I'm sure that this non-root user is added into the "vtune" group and the vtserver is working.