Full error message:
Failed to start profiling because the scope of ptrace() system call application is limited. To enable profiling, please set /proc/sys/kernel/yama/ptrace_scope to 0. See the Release Notes for instructions on enabling it permanently.This is a Linux* only message.
VTune Amplifier may fail to collect data for Hotspots and Threading analysis types on the Ubuntu* operating system if the scope of
ptrace()system call application is limited.
To workaround this problem for the current session, set contents of the
/proc/sys/kernel/yama/ptrace_scope sysctlfile to 0.
To make this change permanent, set the
kernel.yama.ptrace_scopevalue to 0 in the
/etc/sysctl.d/10- ptrace.conffile using root permissions and reboot the machine.