=============================================================================
centos6.X安装perf
#yum install perf
--------------------------------------------------------------------------------------------------------------------------------------
centos5.4安装perf
下载linux源代码包linux-2.6.32.12.tgz(https://www.kernel.org/pub/linux/kernel/v3.x/)
#cd /xxx/linux-2.6.32.12/tools/perf
#make
#make install
#perf top
Error: perfcounter syscall returned with -1 (Function not implemented)
Fatal: No CONFIG_PERF_EVENTS=y kernel support configured?
=============================================================================