Package Details: libpfm 4.11.1-1

Git Clone URL: (read-only, click to copy)
Package Base: libpfm
Description: Library to encode performance events for use by perf tool
Upstream URL:
Licenses: MIT
Submitter: grawlinson
Maintainer: grawlinson
Last Packager: grawlinson
Votes: 6
Popularity: 0.000000
First Submitted: 2022-06-09 03:42 (UTC)
Last Updated: 2022-06-09 03:42 (UTC)

Latest Comments

1 2 Next › Last »

grawlinson commented on 2022-11-14 20:12 (UTC)

What’s required in order to get this working with papi?

carlosal1015 commented on 2022-11-14 20:03 (UTC)

Hi, can I help in order to use with papi ?

milianw commented on 2017-09-25 08:43 (UTC)

Can someone please update this so we can let the PAPI package depend on it?

bchretien commented on 2014-04-03 17:47 (UTC)

@capjo: thanks! Package up-to-date ;-)

capjo commented on 2014-04-03 16:30 (UTC)

Version 4.5.0 is out. I've updated the PKGBUILD file, but only testet on my x86_64 machine. It worked there. I removed the file and used sed instead to make it work on my machine. The description was also updated. I paste the new PKGBUILD simply in this commment. # Maintainer: Benjamin Chretien <chretien at lirmm dot fr> # Contributor: Håvard Espeland <> pkgname=libpfm4 pkgver=4.5.0 conflicts=('libpfm3') pkgrel=1 pkgdesc="Library to encode performance events for use by perf tool" arch=('x86_64' 'i686') url="" license=('MIT') depends=('glibc') source=("$pkgver.tar.gz") md5sums=('8eda1e3741c8f3359a33ebd553243333') build() { cd "$srcdir/libpfm-$pkgver" sed -i 's|PREFIX=/usr/local|PREFIX=/usr|g' sed -i 's|LDCONFIG=ldconfig|LDCONFIG=true|g' make } check () { cd "$srcdir/libpfm-$pkgver/tests" ./validate } package() { cd "$srcdir/libpfm-$pkgver" # Install libraries make DESTDIR="$pkgdir/" install # Install useful example files make DESTDIR="$pkgdir/" install_examples # Install license install -D -m0644 COPYING "${pkgdir}"/usr/share/licenses/libpfm4/LICENSE } # vim:set ts=2 sw=2 et:

bchretien commented on 2013-12-13 17:49 (UTC)

@capjo: thanks, it's done ;-)

capjo commented on 2013-12-12 02:31 (UTC)

Hi, thanks for this package. The examples files are missing, however, and they are quite useful. It would be nice to install them. You need to modify the PKGBUILD script in the following way: package() { cd "$srcdir/libpfm-$pkgver" sed -i 's/$(DOCDIR)/$(DESTDIR)$(DOCDIR)/g' perf_examples/Makefile make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install_examples install -D -m0644 COPYING "${pkgdir}"/usr/s hare/licenses/libpfm4/LICENSE } The sed line is necessary because of a bug in the Makefile. I already send a patch upstream.

bchretien commented on 2013-07-18 09:06 (UTC)

@haavares: ok, I will update it asap.

commented on 2013-07-18 09:02 (UTC)

I don't use arch at the moment. Disowned, but should be easy to update for lastest version.