Leistungszyklen werden nicht unterstützt

Leistungszyklen werden nicht unterstützt

Ich versuche, perf für die Profilerstellung in einer virtuellen Linux-Maschine zu verwenden. Allerdings erhalte ich die folgende Ausgabe:

[vagrant@localhost ~]$ perf stat -d ls /
bin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  vagrant  var

 Performance counter stats for 'ls /':

          1.063002      task-clock (msec)         #    0.408 CPUs utilized
                13      context-switches          #    0.012 M/sec
                 0      cpu-migrations            #    0.000 K/sec
               101      page-faults               #    0.095 M/sec
   <not supported>      cycles
   <not supported>      instructions
   <not supported>      branches
   <not supported>      branch-misses
   <not supported>      L1-dcache-loads
   <not supported>      L1-dcache-load-misses
   <not supported>      LLC-loads
   <not supported>      LLC-load-misses

       0.002608020 seconds time elapsed

Viele der interessanten Werte scheinen nicht unterstützt zu werden. Ich habe dies sowohl auf KVM- als auch auf Virtualbox-Gästen ausprobiert, wobei ich die Virtualbox-Gäste sowohl auf Linux als auch auf Mac OS ausprobiert habe. Meine Online-Recherchen lassen darauf schließen, dass die Leistung innerhalb von KVM-Gästen unterstützt wird. Das ist mir also ein echtes Rätsel. Was könnte schief laufen?

verwandte Informationen