diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 5dbbc90..5308d56 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -9,6 +9,7 @@ pkgname=( 'libtraceevent' 'linux-tools-meta' 'perf' + 'python-perf' 'tmon' 'turbostat' 'usbip' @@ -186,6 +187,17 @@ package_perf() { find usr/share -type f -exec chmod a-x {} \; } +package_python-perf(){ + pkgdesc="Python bindings to perf, the linux kernel performance monitoring tool" + depends=('python') + + cd linux/tools/perf + + make install-python_ext \ + PYTHON=python \ + DESTDIR="$pkgdir" +} + package_cpupower() { pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor' backup=('etc/default/cpupower')