2014-05-26 00:25:28 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-14 12:42:38 +01:00
|
|
|
version = "4.10.0";
|
2014-05-26 00:25:28 +01:00
|
|
|
name = "libpfm-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/perfmon2/libpfm4/${name}.tar.gz";
|
2018-06-14 12:42:38 +01:00
|
|
|
sha256 = "0bldxhcrpav04hi256fmf907gxhyck24j1p998v48zbhm6aykw94";
|
2014-05-26 00:25:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = "DESTDIR=\${out} PREFIX= LDCONFIG=true";
|
|
|
|
|
2015-05-30 14:14:10 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-26 00:25:28 +01:00
|
|
|
description = "Helper library to program the performance monitoring events";
|
|
|
|
longDescription = ''
|
|
|
|
This package provides a library, called libpfm4 which is used to
|
|
|
|
develop monitoring tools exploiting the performance monitoring
|
|
|
|
events such as those provided by the Performance Monitoring Unit
|
|
|
|
(PMU) of modern processors.
|
|
|
|
'';
|
2015-05-30 14:14:10 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.pierron ];
|
2018-06-19 17:55:23 +01:00
|
|
|
platforms = platforms.linux;
|
2014-05-26 00:25:28 +01:00
|
|
|
};
|
2015-05-30 14:14:10 +01:00
|
|
|
}
|