Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1702 Discussions

Ftrace collection cannot be enabled

mnt
New Contributor I
854 Views

Hi

Using vtune web interface on DevCloud, when I enable "Collect C-State events", I get the following error:

 

Ftrace collection cannot be enabled.
 
The node that I am using has Xeon(R) Gold 6128 CPU.  How can I fix that?
0 Kudos
1 Solution
mnt
New Contributor I
756 Views

Hello,

Sorry for not updating the topic. In fact, the error was due to incorrect user group assignment. The problem is now solved. Thanks.

View solution in original post

0 Kudos
6 Replies
RemyaP_Intel
Employee
817 Views

Hi,


Thank you for posting in Intel Communities.


Could you please let us know  

 - The analysis type you are trying to run in Vtune.

 - Vtune version

 - A sample reproducer of the input.

 - Additional settings(if any) to reproduce the issue


Note: Below are the available analysis types in VTune

performance-snapshot

hotspots

anomaly-detection

memory-consumption

uarch-exploration

memory-access

threading

hpc-performance

io

gpu-offload

gpu-hotspots

fpga-interaction

system-overview

graphics-rendering

platform-profiler

tsx-exploration

tsx-hotspots

sgx-hotspots

hotspots-0

hotspots-1


0 Kudos
mnt
New Contributor I
806 Views

Hello,

As I said that problem exists on DevCloud. Now I am using my own Linux system and see the same error. So, let me explain what is my configuration.

 

I followed the steps here to change the ownership of /sys/kernel/debug/tracing

$ sudo chown -R mahmood:vtune /sys/kernel/debug/tracing
$ sudo ls -l /sys/kernel/debug/
total 0
...
drwxr-xr-x  2 root    root  0 Mar 14 13:09 sync
drwx------  8 mahmood vtune 0 Mar 14 13:09 tracing
drwxr-xr-x  2 root    root  0 Mar 14 13:09 ttm
...
$ groups
mahmood adm cdrom sudo dip plugdev lpadmin lxd sambashare libvirt vtune
$ whoami 
mahmood

So, all are set.

But as you can see below, when I launch vtune and enable "Collect C-State events", I still get the same error.

 

mnt_0-1678796485910.png

 

I would like to test the matrix multiplication example and the CPU is Intel(R) Core(TM) i5-6600.

0 Kudos
RemyaP_Intel
Employee
787 Views

Hi,


We are unable to reproduce the issue from our end. Could you please share with us the exact steps you have followed. Let us know how you enabled the collect c-state event.


--

Regards,

Remya Premdas


0 Kudos
RemyaP_Intel
Employee
769 Views

Hi,


We haven't received any response from your end. Is your issue resolved?


Regards,

Remya Premdas


0 Kudos
mnt
New Contributor I
757 Views

Hello,

Sorry for not updating the topic. In fact, the error was due to incorrect user group assignment. The problem is now solved. Thanks.

0 Kudos
RemyaP_Intel
Employee
751 Views

Hi,


Glad to know 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.



Regards,

Remya Premdas



0 Kudos
Reply