User Guide

Contents

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_scope
sysctl
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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.