=============================================================================
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?
=============================================================================
本文指导了如何在CentOS操作系统上安装并运行perf工具。包括CentOS6.4和CentOS5.4的安装步骤,以及遇到错误时的解决方法。
1230





