On Linux machines, Power Profiling Driver can also be installed with Dynamic Kernel Module Support (DKMS) framework support. DKMS framework automatically upgrades the Power Profiler Driver module whenever there is a change in the existing kernel. This saves you from manually upgrading the power profiling driver module. The DKMS package must be installed on target machines before running the installation steps mentioned in the above section.
AMDPowerProfilerDriver.sh installer script will automatically handle the DKMS related configuration if the DKMS package is installed on the target machine.
Example (for Ubuntu distros):
$ sudo apt-get install dkms
$ tar –xf AMDuProf_Linux_x64_x.y.z.tar.bz2
$ cd AMDuProf_Linux_x64_x.y.z/bin
$ sudo ./AMDPowerProfilerDriver.sh install
If you upgrade the kernel version frequently, we recommend you use DKMS for the installation.