Package Details: amduprof 3.6.449-1

Git Clone URL: (read-only, click to copy)
Package Base: amduprof
Description: AMD uProf performance analysis tool.
Upstream URL:
Licenses: custom
Submitter: daren
Maintainer: daren
Last Packager: daren
Votes: 6
Popularity: 0.028120
First Submitted: 2019-07-13 17:19 (UTC)
Last Updated: 2022-08-01 13:10 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

daren commented on 2021-08-30 12:09 (UTC) (edited on 2021-08-30 12:09 (UTC) by daren)

Is anyone able to show source code next to assembly in the Sources tab?

All I get is assembly with "-g" debug binaries.

Wondering if something is off using this on Arch.

tornado99 commented on 2021-08-30 11:23 (UTC)

please update to latest version

nic3-14159 commented on 2021-04-13 15:53 (UTC)

@chapa You have to go to the website and manually download the file to the directory where you cloned the package repo. It's behind a EULA, which is why makepkg isn't able to download it automatically. After that, makepkg should work properly.

chapa commented on 2021-04-06 06:10 (UTC) (edited on 2021-04-06 06:14 (UTC) by chapa)

AMDuProf_Linux_x64_3.4.468.tar.bz2 not found in build directory & source download error. ( Need help, thanks.

daren commented on 2021-03-22 09:16 (UTC)

I forgot to update the md5sum for the tarball in this package. Should work now, apologies.

daren commented on 2021-03-18 08:53 (UTC)

Oh, I didn't know there is a kernel module to hook deeper into the system. Will implement this today.

xsmile commented on 2021-03-18 01:02 (UTC) (edited on 2021-03-18 21:51 (UTC) by xsmile)

Here is a complete PKGBUILD including the kernel module required by the power profile:

pkgdesc='Runtime performance analysis tool for applications'

# Requirements:
# Visit, download the Linux archive and place it in the same
# directory as this PKGBUILD

package() {
  # uProf
  install -d "$pkgdir"/{opt,usr/bin}
  cp -dr --no-preserve=ownership "$srcdir"/${_pkgname}_${pkgver} "$pkgdir"/opt/$pkgname
  ln -s /opt/$pkgname/bin/{AMDRemoteAgent,AMDuProf,AMDuProfCLI} "$pkgdir"/usr/bin

  # Kernel module
  cd "$srcdir"/${_pkgname}_${pkgver}
  local _modname=AMDPowerProfiler
  local _modver=$(cat bin/AMDPowerProfilerVersion)
  tar zxf bin/AMDPowerProfilerDriverSource.tar.gz -C "$srcdir"

  cd "$srcdir"/${_modname}-${_modver}
  install -d "$pkgdir"/usr/src/${_modname}-${_modver}
  cp -dr --no-preserve=ownership {inc/,src/,AMDPowerProfilerVersion,dkms.conf,Makefile} \

  echo $_modname | install -Dm 644 /dev/stdin "$pkgdir"/etc/modules-load.d/$pkgname.conf
  # TODO: The following tmpfile won't work. Instead add a systemd service file running
  # `/bin/mknod /dev/AMDPowerProfiler -m 666 c $(/bin/cat /proc/AMDPowerProfiler/device) 0` after the kernel module has been loaded.
  #echo "c /dev/$_modname 666 root root - 234:0" |
  #  install -Dm 644 /dev/stdin "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf

EDIT: The char device will need a fix as the major version is not static.

andersfylling commented on 2021-02-20 21:23 (UTC) (edited on 2021-02-20 21:25 (UTC) by andersfylling)

Are people able to install uprof using this? Has this been testing in a vm?

I can't seem to get it installed and I get no errors. lmod, nor env-modules causes a successful installation, meaning I can't find uprof in my system after using this.

daren commented on 2021-02-02 20:33 (UTC)

Sorry for the delay.

I checked the files and there are actually conflicting libraries etc. for putting this in /usr.

Small update where MANPATH and PYTHONPATH are also being set.

Let me know what you think about loading this (along with aocc/aocl) with env-modules/lmod, it's being used a lot in HPC environments.

daren commented on 2021-01-20 13:43 (UTC)

I'll adapt the package later today to install into /usr prefix as it shouldn't conflict with other packages as with aocc and aocl.

diabolusss commented on 2021-01-20 13:23 (UTC) (edited on 2021-01-20 13:32 (UTC) by diabolusss)

Actually it's quite easy to install, just add downloaded amd archive into your helper package build directory, i.e. in case of yay it's /home/user/.cache/yay/amduprof/. I suppose it's always where PKGBUILD will be located upon install.

daren commented on 2020-10-04 17:18 (UTC) (edited on 2020-10-04 17:19 (UTC) by daren)

The modulefile is part of the repo:

Your AUR helper should download it when trying to install the package. Or when you clone the Git Clone URL.

DianaNites commented on 2020-10-04 15:14 (UTC) (edited on 2020-10-04 15:25 (UTC) by DianaNites)

How in the world is this supposed to be installed?! What in the world is modulefile and MODULESHOME and whats supposed to be in it?

Actually It seems that because of the check in this packages pkgbuild, env-modules can't properly install in the first place?! This broken package cancels the build before it can be installed as a dependency, so it has to be installed separate, even though the message from this package only says to restart your shell.

tornado99 commented on 2020-09-06 10:47 (UTC)

Has been updated to version 3.3.462 on AMD website. please update.

daren commented on 2020-06-01 14:36 (UTC)

Sorry for the late reply, my E-Mail notifications repeatedly land in my spam directory even though I mark them as "not spam".

Check where your AUR helper puts the PKGBUILD and other files, for me with pikaur it puts them in ${HOME}/.cache/pikaur/build/amduprof

When it errors out I just put the tarball in there and press R to retry the build.

laurentO commented on 2020-05-21 09:16 (UTC)

First AMDuProf_Linux_x64_3.2.228.tar.bz2 file must be manually downloaded from AMD site due to licence acceptance. But where should it be placed to allow this package to be installed using yay or another AUR tool ?

daren commented on 2019-09-20 19:31 (UTC)

@lesto Read the comment at the top of the PKGBUILD.

lesto commented on 2019-09-20 19:27 (UTC)

does not work as you are using a local source that is not included in the package