Tool/software: Linux
Hi All,
- In my customized board, i am using perf tool, for checking the performance.
- I Checked all commands that are working file, only one command is Not working i.e,
- If i need only kernel space and user space events only, the command is below,
1) ./perf record -e cycles:u ./Dsptest
2) ./perf record -e cycles:k ./Dsptest
- If i Entered like above command, it showing
Error:
The sys_perf_event_open() sys call returned with 95 (Operation not supported) for event cycles:k
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENT=y Kernel support configured?
- Checked the Kernel configuration file, CONFIG_PERF_EVENT=y already configured, again i compiled kernel and created uImage, and change this uImage to my board, and gain compile the perf tool, get pef executable file.
- Run this new perf file on my board as mentioned command, same problem is getting, currently kernel version using (kernel - 4.4.19).
Question: Kernel support this feature or not?
If support Please tell how to enable this u/k space events.
Regards,
Vamsi.