在Linux中顯然有一些計數器,perf例如syscall:sys_enter_select,但是在我的系統perf list上沒有顯示任何計數器其他人確實擁有這些計數器的證據在這里:http : //www.brendangregg.com/blog/2014-07-03/perf-counting.html如果我運行perf top -e 'syscalls:sys_enter_*'它說:Can't open event dir: Permission denied
invalid or unsupported event: 'syscalls:sys_enter_*'其他事件類型(中的perf list)工作正常。我需要做什么才能訪問syscall計數器perf?我在x86_64上使用Linux內核和perf版本3.10。
性能:為什么我沒有“ syscall”計數器?
慕桂英4014372
2021-04-10 08:56:10