I need to run a DPDK application under vtune amplifier. It needs to be run with super user privileges. This application is run using a script as it needs some environment variables to be set.
Usually I run this script by switching the user to root.
How can I do this?
Things that I've tried:
+ Run vtune amplifier as root, but this fails to launch any application saying 'License check failed'.
+ Set suid bit on the script, but this fails to run the application.
VTune checks license on finalization step only. You can collect on any target platform and under any user. When you see the message about license check failure, the result directory should already contain all the collected traces. Now you can open it under your regular user (make sure files within result directory are accessible to this user) to cause data analysis and report.