Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

Error while starting vtune profiler collection using root

vtune-work
Beginner
2,411 Views

I am trying to run vtune profiler from root user by,

=> source /opt/intel/oneapi/setvars.sh

After this I tried the command :

=> vtune -collect performance-snapshot sleep 5

ERROR :

[root@a1 opc]# vtune -collect performance-snapshot sleep 5
vtune: Error: The following events cannot be collected: UNC_M_CAS_COUNT.RD,UNC_M_CAS_COUNT.WR,UNC_M_PMM_RPQ_INSERTS,UNC_M_PMM_WPQ_INSERTS. Consider removing the events from the collection, loading the VTune Profiler sampling driver using the root credentials, or updating the OS kernel.
vtune: Collection failed.

 

And I tried to do the same collection using my normal user instead of root user, But then it worked. What changes should I make to make it work with the root user. Please help.

0 Kudos
5 Replies
ShyamS_Intel
Moderator
2,395 Views

Hi,


Thank you for posting in Intel Communities.

Could you please share your below information so that we can reproduce the issue from our end.

  • VTune version
  • Processor details
  • Operating system


Thanks

Shyam Sundar



0 Kudos
vtune-work
Beginner
2,390 Views

Vtune version : latest

Processor details :

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 20
On-line CPU(s) list: 0-19
Thread(s) per core: 2
Core(s) per socket: 10
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
BIOS Vendor ID: QEMU
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz
BIOS Model name: pc-i440fx-4.2
Stepping: 6
CPU MHz: 2593.994
BogoMIPS: 5187.98
Virtualization: VT-x
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 16384K
NUMA node0 CPU(s): 0-19
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves nt_good wbnoinvd arat avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid md_clear arch_capabilities.

 

Operating system : Oracle Linux Server release 8.6

 

0 Kudos
ShyamS_Intel
Moderator
2,363 Views

Hi,

 

Please run self checker commands using below commands and check drivers are installed correctly. Please share the self checker logs to us.

 

cd /opt/intel/oneapi/vtune/latest/bin64/ or <install-dir>/bin64

 

sh ./vtune-self-checker.sh

 

 

if needed please refer the documentation: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/installation/verify-linux-installation.html

 

Thanks,

Shyam Sundar

 

0 Kudos
ShyamS_Intel
Moderator
2,308 Views

Hi,


Could you please provide any updates.


Thanks

Shyam Sundar


0 Kudos
ShyamS_Intel
Moderator
2,246 Views

Hi,


I assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel. 


Thanks

Shyam Sundar


0 Kudos
Reply