linuxalienyan 2011-03-15
Various features are now enabled or disabled at runtime based on kernel versioning, and support for the perf-counter interface in linux kernel 2.6.31 has been deprecated in favor of the perf-events interface in kernel 2.6.32 and above.
Linux 2.6.32及其以上的内核都支持 perf-events, 在支持 perf-events 的内核上 PAPI-4.1.1及其以上的版本 可以得到很好的支持,而不用像之前的老内核一样需要首先给内核安装 perfctr 补丁。
下面介绍其安装步骤:
./configure
make
make install