PAPI的安装问题(PAPI FAILED Tests)

解决方法

It seems kernel didn't let me access to performance events because of security reasons. You have to set that.
(由于安全原因,似乎内核不允许访问性能事件,必须对它进行设置)

sudo sh -c 'echo -1 >/proc/sys/kernel/perf_event_paranoid'

你可能感兴趣的:(PAPI的安装问题(PAPI FAILED Tests))