Problems encountered by VTune (TM) AmplifierXE in Ubuntu * 11.04

Source: Internet
Author: User
Install Intel (R) VTune (TM) AmplifierXE2011 on Ubuntu * 11.04 through Sudo. No error message is reported throughout the process. Use amplxe-gui to call the graphical interface of the tool, create a project, and select the target application. Then, HotspotsAnalysis is used to analyze the target program, and an error occurs unexpectedly. The same problem also occurs in the parallel analysis (ConcurrencyAnal

Install Intel (R) VTune (TM) Amplifier XE 11.04 on Ubuntu * 2011 through Sudo. No error message is reported throughout the process.

Use amplxe-gui to call the graphical interface of the tool, create a project, and select the target application. Then, use the tool to perform hot spots Analysis on the target program to obtain error information unexpectedly.

The same problem occurs in Concurrency Analysis And Locks And Waits Analysis ).

The reason is that Ubuntu * 10.10 and later versions only allow the process of the parent ptrace application of the traced process when a common user uses ptrace to trace the process.

VTune Amplifier XE is not the parent process of the application. How can we remove this restriction? According to the error message:

$ Sudo echo 0>/proc/sys/kernel/yama/ptrace_scope

Bash:/proc/sys/kernel/yama/ptrace_scope: Permission denied

Use:

$ Echo 0 | sudo tee/proc/sys/kernel/yama/ptrace_scope

[Sudo] password for peter:

0

In this way, VTune (TM) Amplifier XE can work normally.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.