derickson2402 / Dockerized-CAEN

Containerized dev environment that plugs into VS Code so you can test on CAEN without the hassle
GNU General Public License v3.0
5 stars 1 forks source link

Add support for perf #6

Open derickson2402 opened 2 years ago

derickson2402 commented 2 years ago

This post has some tips for getting perf running in Docker. Perf needs special permissions to work, but this is probably not the safest thing to enable by default.

Maybe have the ./caen wrapper script check if you want to use perf, then enable the permissions flags?

derickson2402 commented 2 years ago

Reopening this issue. I have had some issues recently trying to get Perf to work (due to kernel permissions). Also, Perf may not work inside of devcontainer.