ubuntu 12.10 perf stat <no compatible> ciclos
El sistema que uso es ubuntu-12.10-desktop-amd64
Instalo perf a través
apt-get install linux-tools linux-tools-common linux-tools-3.5.0-40
cuando usoperf list
, enumera todos los eventos como se esperaba. Pero cuando usoperf stat
, el resultado parece anormal
perf stat ls
el resultado es:
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
¿Por qué estos eventos no son compatibles? ¿Alguna operación necesaria para habilitar estos eventos?