我在Ubuntu 18.04上安装了Eclipse CDT版本:2019-03(4.11.0)。已安装“ perf”二进制文件。当我尝试分析简单的CDT C ++应用程序时,在“ Perf配置文件视图”选项卡中看不到任何输出,并且控制台输出选项卡显示以下内容:
failed to open perf.data : Permission denied Perf session creation failed. /usr/bin/perf record --output=perf.data /home/smachin/eclipse-workspace/seanlabs/Debug/seanlabs Analysing recorded perf.data, please wait... ERROR: Unable to find Perf version, please verify it is installed and on the run path
如何进行性能分析?