- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have got a warning message in vtune:
vtune: Warning: Only user space will be profiled due to credentials lack. Consider changing /proc/sys/kernel/perf_event_paranoid file for enabling kernel space profiling.
Current perf_event_paranoid : 2
How does the warning effects the profiling results. Is there any solution except changing perf_event_paranoid to 1.
Best,
Smita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Smita.
VTune could not collect kernel space data in this case. User space only
Unprivileged users
perf_events scope and access control for unprivileged processes is governed by perf_event_paranoid [2] setting:
....
>=2:scope includes per-process performance monitoring only. CPU and system events happened when executing in user space only can be monitored and captured for later analysis. Per-user per-cpu perf_event_mlock_kb locking limit is imposed but ignored for unprivileged processes with CAP_IPC_LOCK capability.
More info in VTune cookbook and kernel.org
https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html
Thanks, Kirill
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Smita.
VTune could not collect kernel space data in this case. User space only
Unprivileged users
perf_events scope and access control for unprivileged processes is governed by perf_event_paranoid [2] setting:
....
>=2:scope includes per-process performance monitoring only. CPU and system events happened when executing in user space only can be monitored and captured for later analysis. Per-user per-cpu perf_event_mlock_kb locking limit is imposed but ignored for unprivileged processes with CAP_IPC_LOCK capability.
More info in VTune cookbook and kernel.org
https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html
Thanks, Kirill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is your issue resolved?Can we close the case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation.We would discontinue monitoring this issue.Please raise a new thread incase of any further issues.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page