- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Attempting to profile a program using vtune via command line results on the following failure:
Error:
Access to performance monitoring and observability operations is limited.
Consider adjusting /proc/sys/kernel/perf_event_paranoid setting to open
access to performance monitoring and observability operations for processes
without CAP_PERFMON, CAP_SYS_PTRACE or CAP_SYS_ADMIN Linux capability.
More information can be found at 'Perf events and tool security' document:
https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html
perf_event_paranoid setting is 0:
-1: Allow use of (almost) all events by all users
Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK
>= 0: Disallow raw and ftrace function tracepoint access
>= 1: Disallow CPU event access
>= 2: Disallow kernel profiling
To make the adjusted perf_event_paranoid setting permanent preserve it
in /etc/sysctl.conf (e.g. kernel.perf_event_paranoid = <setting>)
vtune: Collection failed.
vtune: Internal Error
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel communities.
To understand your issue better, could you please provide the below details?
- If you are using an older version of vtune please upgrade it to 2023.1 (also check the OS you are using supported https://www.intel.com/content/www/us/en/developer/articles/system-requirements/vtune-profiler-system-requirements.html)
- Can you please tell me the name of the operating system and processor details you are using? (If Linux, please specify the distribution like Centos7,8, Ubuntu18,20, etc)
- Are you facing this issue with the matrix sample application too? (<vtune installation path>samples/en/C++/matrix), if not attach a sample reproducer and screenshots. so we can reproduce your issue from our end.
- Check the output for /proc/sys/kernel/perf_event_paranoid is set as -1
- Please attach self-checker logs by running the below command.
<Vtune_installation_directory\latest\bin64\vtune-self-checker.bat> for windows.
<Vtune_installation_directory\latest\bin64\vtune-self-checker.sh> for linux.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please provide the details which are mentioned above?
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Thanks,
Jaideep

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page