Visible to Intel only — GUID: GUID-85CD0143-CB97-4503-A96A-4741D46973A0
Visible to Intel only — GUID: GUID-85CD0143-CB97-4503-A96A-4741D46973A0
Error Message: Scope of ptrace System Call Is Limited
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.
Cause
VTune Profiler 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.
Solution
Set the value of the kernel.yama.ptrace_scopesysctl option to 0 with this command:
sysctl -w kernel.yama.ptrace_scope=0
To make this change permanent, set the kernel.yama.ptrace_scope value to 0 in the /etc/sysctl.d/10-ptrace.conf file using root permissions and reboot the machine.