aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-01-10 01:59:59 +0800
committeradrian <adrian@FreeBSD.org>2014-01-10 01:59:59 +0800
commit86a890a891637df10276346079cd7e56f2da5abf (patch)
tree0fbb5499db2203ae44f6307d06250aec3e33cfcd /sysutils
parent6b3f69f4fa8091abd309c266501467744a99226e (diff)
downloadfreebsd-ports-gnome-86a890a891637df10276346079cd7e56f2da5abf.tar.gz
freebsd-ports-gnome-86a890a891637df10276346079cd7e56f2da5abf.tar.zst
freebsd-ports-gnome-86a890a891637df10276346079cd7e56f2da5abf.zip
Add a port for my github mirror + freebsd fixes for the intel
performance counter monitoring (PCM) toolkit. Sponsored by: Netflix, Inc.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/intel-pcm/Makefile28
-rw-r--r--sysutils/intel-pcm/distinfo2
-rw-r--r--sysutils/intel-pcm/pkg-descr14
-rw-r--r--sysutils/intel-pcm/pkg-plist8
4 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/intel-pcm/Makefile b/sysutils/intel-pcm/Makefile
new file mode 100644
index 000000000000..f09e6b665110
--- /dev/null
+++ b/sysutils/intel-pcm/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= intel-pcm
+PORTVERSION= 2.6
+CATEGORIES= sysutils
+MASTER_SITES= GM
+
+ONLY_FOR_ARCHS= i386 amd64
+
+MAINTAINER= adrian@freebsd.org
+COMMENT= Intel PCM toolkit
+
+LICENSE= BSD4CLAUSE
+
+USES= gmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= erikarn
+GH_COMMIT= 9b302ef
+GH_TAGNAME= ${GH_COMMIT}
+
+WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}/src
+MAKE_ARGS= CC="${CXX}" OPT="${CXXFLAGS}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/*.x ${STAGEDIR}${PREFIX}/sbin
+
+.include <bsd.port.mk>
diff --git a/sysutils/intel-pcm/distinfo b/sysutils/intel-pcm/distinfo
new file mode 100644
index 000000000000..13f6ed122b19
--- /dev/null
+++ b/sysutils/intel-pcm/distinfo
@@ -0,0 +1,2 @@
+SHA256 (intel-pcm-1.0.tar.gz) = 8f8b8f55f4d2235a0ac6dfc125f0edb1064473102bef25a21de1b9598fe4f330
+SIZE (intel-pcm-1.0.tar.gz) = 807742
diff --git a/sysutils/intel-pcm/pkg-descr b/sysutils/intel-pcm/pkg-descr
new file mode 100644
index 000000000000..a5487664534f
--- /dev/null
+++ b/sysutils/intel-pcm/pkg-descr
@@ -0,0 +1,14 @@
+This is the Intel Performance Counter Monitoring toolkit.
+
+The original software is available here:
+
+http://software.intel.com/en-us/articles/intel-performance-counter-monitor
+
+This install comes from Adrian Chadd's copy, which includes some portability
+fixes related to FreeBSD. This can be found in the local/freebsd branch of:
+
+http://github.com/erikarn/intel-pcm
+
+This requires the 'cpuctl' module to be loaded.
+
+WWW: http://github.com/erkarn/intel-pcm
diff --git a/sysutils/intel-pcm/pkg-plist b/sysutils/intel-pcm/pkg-plist
new file mode 100644
index 000000000000..eb412e108353
--- /dev/null
+++ b/sysutils/intel-pcm/pkg-plist
@@ -0,0 +1,8 @@
+sbin/pcm-memory.x
+sbin/pcm-msr.x
+sbin/pcm-numa.x
+sbin/pcm-pcie.x
+sbin/pcm-power.x
+sbin/pcm-sensor.x
+sbin/pcm-tsx.x
+sbin/pcm.x