성능 주기는 지원되지 않습니다.

성능 주기는 지원되지 않습니다.

Linux 가상 머신에서 프로파일링을 위해 perf를 사용하려고 합니다. 그러나 다음과 같은 결과가 나타납니다.

[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

많은 흥미로운 값이 지원되지 않는 것 같습니다. Linux와 Mac OS 모두에서 시도한 virtualbox 게스트와 함께 kvm 및 virtualbox 게스트 모두에서 이것을 시도했습니다. 내 온라인 판독 결과에 따르면 kvm 게스트 내에서 성능이 지원되는 것으로 나타났습니다. 그래서 이것은 정말 혼란 스럽습니다. 무엇이 잘못될 수 있나요?

관련 정보