If using tar ball, install uProf driver manually.
To install the driver for
AMDuProfSys:
# ./AMDPowerProfilerDriver.sh install
Alternatively, Linux Perf can also be used if the user space perf tool is installed
in the system. Make sure that Perf tools support the required PMC event monitoring
for the platform used. To use Linux Perf for collection instead of the uProf driver,
include the --use-linux-perf flag in the command.
To install user space perf tool:
# apt-get install linux-tools-common linux-tools-generic linux-tools-`uname -r`
Disable NMI watchdog; this requires root privileges:
# echo 0 > /proc/sys/kernel/nmi_watchdog
Set Perf parameter to -1 if system-wide profile data or DF and L3 metrics must be collected:
# sh -c 'echo -1 >/proc/sys/kernel/perf_event_paranoid'
To collect using Linux Perf, check if the amd_uncore module is
loaded using the following
command:
$ lsmod | grep amd_uncore
If not, run the following
command:
# modprobe amd_uncore
AMDuProfSys will be available at <Installed Directory>/bin/AMDPerf/AMDuProfSys post installation.