相关疑难解决方法(0)

ubuntu 12.10 perf stat <不支持>周期

我使用的系统是ubuntu-12.10-desktop-amd64

我安装穿孔

apt-get install linux-tools linux-tools-common linux-tools-3.5.0-40
Run Code Online (Sandbox Code Playgroud)

当我使用时perf list,它按预期列出所有事件.但是当我使用时perf stat,结果似乎异常

perf stat ls
Run Code Online (Sandbox Code Playgroud)

结果是:

 Performance counter stats for 'ls':

      3.988508 task-clock                #    0.678 CPUs utilized          
           172 context-switches          #    0.043 M/sec                  
             0 CPU-migrations            #    0.000 K/sec                  
           276 page-faults               #    0.069 M/sec                  
      <not supported> cycles                  
      <not supported> stalled-cycles-frontend 
      <not supported> stalled-cycles-backend  
      <not supported> instructions            
      <not supported> branches                
      <not supported> branch-misses           

   0.005883014 seconds time elapsed
Run Code Online (Sandbox Code Playgroud)

为什么不支持这些事件?启用这些事件所需的任何操作?

xen virtualization ubuntu perf

6
推荐指数
1
解决办法
1590
查看次数

标签 统计

perf ×1

ubuntu ×1

virtualization ×1

xen ×1