You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Added the following to the wrapper script
- Automatically detect host OS
- Automatically detect if Docker is installed and running, provide instructions or turn it on if not
- Automatically detect an internet connection and pull the newest version of the container
- Use environment variables to change config
- Verify the user is fine with using Perf with SYS_ADMIN turned on
Also added command to the docs for automatically installing the script
See #8, #6
Merge changes from dev for release v0.5
- Add functionality and error checking to wrapper script (closes#8)
- Add support for input redirection (closes#2)
- Add support for running Perf command with elevated Docker permissions (closes#6)
- Add cppchecker to C++ container (closes#3)
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?The text was updated successfully, but these errors were encountered: