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?
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.
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?