- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm experimenting with Vtune Amplifier XE 2018 trial edition on Linux and I have a basic question that I can't seem to find the answer to anywhere.
The application which i want to collect data is run as a non-root user.I installed the vtune as the default option.And then after install successful,i tried to run command (amplxe-cl -colect ... ) to collect an non-root application which run on linux os.as an result,it counter an eoor below:
#amplxe-cl -collect hotspots --target-pid 2191
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r
amplxe: Error: Data collection is interrupted because credentials of the target process and VTune Amplifier do not match. Please start both target process and VTune Amplifier with the credentials of the same user and try collecting data again.
amplxe:Collection Error
amplxe: Internal Error
i tried to solve it , and i find a similar question the same to me , the link is https://software.intel.com/zh-cn/forums/intel-vtune-amplifier-xe/topic/515053
but that is not the sam reason which i counter.
How do i solve this problem ?
thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Chen,
Please verify that:
1. Both - VTune Amplifier process and the application process which you want to collect data - are run by the same user.
2. The user has write access to a result directory of your collection. In your case it seems the current directory.
Regards, Katya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Ekaterina,
I used the Vtune profile in MAC to connect to the server through SSH to test the performance of a certain process in the kernel.
The following error occurred:Data collection is interrupted because credentials of the target process and VTune Amplifier do not match. Please start both target process and VTune Amplifier with the credentials of the same user and try collecting data again.
I cannot understand the existing solution, please describe the solution in detail.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ekaterina,
I have never found a sufficient explanation as to why the root user on a Linux platform cannot profile an application running as non-root. Is this a design choice? Do you have an answer?
Regards,
Marc
![](/skins/images/B7BA37F9CE4B52FF7CAE1FB0388839C8/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page