On Linux systems, the CodeXL Debian and RPM packages perform the driver installation automatically. However, if you’ve downloaded the CodeXL tar archive, you have to install the Power Profiler’s Linux driver manually. This includes a simple step of running AMDTPwrProfDriver.sh script with root credentials.
Example:
$ tar –xf CodeXL_Linux_x86_64_2.0.XXXX.tar.gz
$ cd CodeXL_Linux_x86_64_2.0.XXXX
$ sudo ./AMDTPwrProfDriver.sh install
Installer will create a source tree for power profiler driver under /usr/src/ amdtPwrProf -<version number>. All the source files required for module compilation is located in this directory are under MIT license.
To uninstall the driver run the following command:
$ $ cd <codexl-install-dir>
$ sudo ./AMDTPwrProfDriver.sh uninstall