User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Error Message: Scope of <span class='codeph'>ptrace</span> 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.


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.


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.

Did you find the information on this page useful?

Characters remaining:

Feedback Message