Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
134 Views

vtune: Warning: Only user space will be profiled due to credentials lack.

Jump to solution

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

0 Kudos

Accepted Solutions
Highlighted
Employee
125 Views

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://software.intel.com/content/www/us/en/develop/documentation/vtune-cookbook/top/configuration-... 

https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html 

 

Thanks, Kirill

View solution in original post

4 Replies
Highlighted
Employee
126 Views

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://software.intel.com/content/www/us/en/develop/documentation/vtune-cookbook/top/configuration-... 

https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html 

 

Thanks, Kirill

View solution in original post

Highlighted
Moderator
110 Views

Hi,


Is your issue resolved?Can we close the case?


0 Kudos
Highlighted
Beginner
107 Views

Issue resolved. Thanks

0 Kudos
Highlighted
Moderator
96 Views

Hi,


Thanks for the confirmation.We would discontinue monitoring this issue.Please raise a new thread incase of any further issues.


0 Kudos