This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Perf tool on K2X EVM

hi,

Could you please let me know if the "perf" tools is supported on K2X EVM (Linux on ARM). When I try, I get the following message - with few of the options not supported.

root@keystone-evm:~# perf stat -B dd if=/dev/zero of=/dev/null count=1000000

1000000+0 records in

1000000+0 records out

 Performance counter stats for 'dd if=/dev/zero of=/dev/null count=1000000':

        2429.612371 task-clock                #    0.987 CPUs utilized

                 5 context-switches          #    0.002 K/sec

                 0 cpu-migrations            #    0.000 K/sec

               124 page-faults               #    0.051 K/sec

   <not supported> cycles

   <not supported> stalled-cycles-frontend

   <not supported> stalled-cycles-backend

   <not supported> instructions

   <not supported> branches

   <not supported> branch-misses

 

       2.461498328 seconds time elapsed

 

root@keystone-evm:~#

  • Frangline,

    Perf should be supported but may not be all events. The only 2 shown not supported on my Rev 2.0 EVM are stalled-cycle-frontend and stalled-cycle-backend. The rest do show up running the same command as yours.

    Rex