notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
intel-pcm Process Count Monitor (PCM) for Intel processors
202311 sysutils on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 202311Version of this port present on the latest quarterly branch.
Maintainer: imp@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-01-09 18:00:10
Last Update: 2023-12-01 17:05:15
Commit Hash: b7d624a
People watching this port, also watch:: e2fsprogs, pkg, tmux, coreutils, zsh
License: BSD3CLAUSE
WWW:
https://github.com/intel/pcm
Description:
Processor Counter Monitor (PCM) is an application programming interface (API) and a set of tools based on the API to monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r) and Atom(tm) processors. This requires the 'cpuctl' module to be loaded.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (36 items)
Collapse this list.
  1. /usr/local/share/licenses/intel-pcm-202311/catalog.mk
  2. /usr/local/share/licenses/intel-pcm-202311/LICENSE
  3. /usr/local/share/licenses/intel-pcm-202311/BSD3CLAUSE
  4. sbin/pcm
  5. sbin/pcm-accel
  6. sbin/pcm-bw-histogram
  7. sbin/pcm-core
  8. sbin/pcm-iio
  9. sbin/pcm-latency
  10. sbin/pcm-lspci
  11. sbin/pcm-memory
  12. sbin/pcm-mmio
  13. sbin/pcm-msr
  14. sbin/pcm-numa
  15. sbin/pcm-pcicfg
  16. sbin/pcm-pcie
  17. sbin/pcm-power
  18. sbin/pcm-raw
  19. sbin/pcm-sensor
  20. sbin/pcm-sensor-server
  21. sbin/pcm-tsx
  22. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-4F-1.json
  23. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-55-4.json
  24. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-55-7.json
  25. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-6A-6.json
  26. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-86-5.json
  27. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-8E-C.json
  28. share/intel-pcm/PMURegisterDeclarations/GenuineIntel-6-8F-6.json
  29. share/intel-pcm/opCode-106.txt
  30. share/intel-pcm/opCode-134.txt
  31. share/intel-pcm/opCode-143-accel.txt
  32. share/intel-pcm/opCode-143.txt
  33. share/intel-pcm/opCode-85.txt
  34. @owner
  35. @group
  36. @mode
Collapse this list.
Dependency lines:
  • intel-pcm>0:sysutils/intel-pcm
To install the port:
cd /usr/ports/sysutils/intel-pcm/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/intel-pcm
  • pkg install intel-pcm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: intel-pcm
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64 i386
distinfo:
TIMESTAMP = 1701358753 SHA256 (intel-pcm-202311_GH0.tar.gz) = 393f3d6f39f425683b3a69330e72a9b2c6316ed97fc1e4a01b3d63387365c8bf SIZE (intel-pcm-202311_GH0.tar.gz) = 1145019

Packages (timestamps in pop-ups are UTC):
intel-pcm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-202311--202311---
FreeBSD:13:quarterly-202311--202311---
FreeBSD:14:latest-202311--202311---
FreeBSD:14:quarterly-202311--202311---
FreeBSD:15:latest-202311n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libsimdjson.so : devel/simdjson
This port is required by:
for Run
  1. net-mgmt/nstat

Configuration Options:
===> The following configuration options are available for intel-pcm-202311: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
sysutils_intel-pcm
USES:
cmake compiler:c++11-lang
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/intel/pcm/tar.gz/202311?dummy=/
Collapse this list.

Number of commits found: 47

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
202311
01 Dec 2023 17:05:15
commit hash: b7d624abc7106fca2780e4bad80345747cd28fd8commit hash: b7d624abc7106fca2780e4bad80345747cd28fd8commit hash: b7d624abc7106fca2780e4bad80345747cd28fd8commit hash: b7d624abc7106fca2780e4bad80345747cd28fd8 files touched by this commit
Warner Losh (imp) search for other commits by this committer
Author: R. Christian McDonald
sysutils/intel-pcm: update to 202311

ChangeLogs:
https://github.com/intel/pcm/releases/tag/202307
https://github.com/intel/pcm/releases/tag/202311

PR: 275452
Reviewed by: imp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
202302_1
23 Feb 2023 22:56:39
commit hash: 54e6f989275ae7b21551429c72f111d414fd3c39commit hash: 54e6f989275ae7b21551429c72f111d414fd3c39commit hash: 54e6f989275ae7b21551429c72f111d414fd3c39commit hash: 54e6f989275ae7b21551429c72f111d414fd3c39 files touched by this commit
Warner Losh (imp) search for other commits by this committer
sysutils/intel-pcm: Fix plist and paths

Some code migrated from pcm-iio.cpp to utils.cpp with hard-coded paths,
but the REINPLACE commands were wrong. Additional binaries and files are
present in newer versions that were neglected in the last commit.

PR:		268730
Fixes:		fc33bc299d1e
Sponsored by:	Netflix
202302
22 Feb 2023 21:34:49
commit hash: fc33bc299d1e76a9d8d6a80dd73434a12b1fc22ecommit hash: fc33bc299d1e76a9d8d6a80dd73434a12b1fc22ecommit hash: fc33bc299d1e76a9d8d6a80dd73434a12b1fc22ecommit hash: fc33bc299d1e76a9d8d6a80dd73434a12b1fc22e files touched by this commit
Warner Losh (imp) search for other commits by this committer
sysutils/intel-pcm: Update to 202302

Update to latest version, release notes for 202211, 202212 and 202302
are relevant here. Briefly:
* Add Saphire Rapids and Gemini Lake support
* Add SPR HBM support
* Support for monitoring Intel QuickAssist Technology (QAT)
* Add support for memory bandwidth metrics for ADL&TGL CPU models
* Lots of bug fixes

Sponsored by:		Netflix
202210_1
13 Nov 2022 19:18:53
commit hash: c8b2af7ca6de49489a8bd36ac30d367657b2da5ecommit hash: c8b2af7ca6de49489a8bd36ac30d367657b2da5ecommit hash: c8b2af7ca6de49489a8bd36ac30d367657b2da5ecommit hash: c8b2af7ca6de49489a8bd36ac30d367657b2da5e files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
sysutils/intel-pcm: Rework port

- Update WWW and location of repo on GitHub
- Add (lib)simdjson as dependency
- Make DOCS optional
- Install files in paths consistent with name of port
- Fix paths in source files

Reviewed by:	imp (maintainer) via IRC (previous version)
Approved by:	imp (maintainer) via IRC
202210
08 Nov 2022 18:16:59
commit hash: 8d9a92ff1d8eba04bbc9a0d1340124a34cab520fcommit hash: 8d9a92ff1d8eba04bbc9a0d1340124a34cab520fcommit hash: 8d9a92ff1d8eba04bbc9a0d1340124a34cab520fcommit hash: 8d9a92ff1d8eba04bbc9a0d1340124a34cab520f files touched by this commit
Warner Losh (imp) search for other commits by this committer
sysutil/intel-pcm: Update to 202210

Update to 202210 (checksums, etc)
Switch over to using cmake instead of gmake to build
Remove conflicts with port that's no longer around

Release Notes
	https://github.com/intel/pcm/releases/tag/202210
	https://github.com/intel/pcm/releases/tag/202207
	https://github.com/intel/pcm/releases/tag/202205
	https://github.com/intel/pcm/releases/tag/202203
	https://github.com/intel/pcm/releases/tag/202202
	https://github.com/intel/pcm/releases/tag/202201

Sponsored by:		Netflix
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
202112
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
202112
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
202112
02 Jan 2022 00:31:44
commit hash: 9f8c0fa161020fbbb58dcb9beb6fabd25b0a8200commit hash: 9f8c0fa161020fbbb58dcb9beb6fabd25b0a8200commit hash: 9f8c0fa161020fbbb58dcb9beb6fabd25b0a8200commit hash: 9f8c0fa161020fbbb58dcb9beb6fabd25b0a8200 files touched by this commit
Warner Losh (imp) search for other commits by this committer
devel/intel-pcm: Update to 202112

There's a new diagnostic in the build:

"The compiler is too old (g++ 6 or below). Parsing events from
01.org/perfmon won't be supported."

despite the fact we're using the latest clang. I'll investigate and see
what other dependencies are needed (since it's testing for the presence
of other libraries). I'll update with the improved functionality when
that's been sorted.

Sponsored by:		Netflix
202109
04 Oct 2021 16:31:33
commit hash: 92b5e9c4737cbf6de40773716ae2fc071dea8062commit hash: 92b5e9c4737cbf6de40773716ae2fc071dea8062commit hash: 92b5e9c4737cbf6de40773716ae2fc071dea8062commit hash: 92b5e9c4737cbf6de40773716ae2fc071dea8062 files touched by this commit
Warner Losh (imp) search for other commits by this committer
sysutil/intel-pcm: Update to 202109

Update to the latest. It contains a number of minor fixes.

From 202109:
 * pcm-raw: support collecting events by names from event lists
   (https://download.01.org/perfmon/). Details: link
 * pcm-raw: support event group multiplexing
 * pcm-iio: support csv output
 * Extended Windows PCM driver to support all ICX uncore performance
   monitoring units
 * Developed a workaround to make PCM work in VMware guest

From 202107:
 * support systems with > 1024 logical cores
(Only the first 15 lines of the commit message are shown above View all of this commit message)
202105
08 Jun 2021 23:40:18
commit hash: 8bb5eb896f26ad930a02d2e25667404992b82f7ecommit hash: 8bb5eb896f26ad930a02d2e25667404992b82f7ecommit hash: 8bb5eb896f26ad930a02d2e25667404992b82f7ecommit hash: 8bb5eb896f26ad930a02d2e25667404992b82f7e files touched by this commit
Warner Losh (imp) search for other commits by this committer
sysutils/intel-pcm: Update to 202105

Update to latest release, 202105. Notable changes since 202011:

o Support Intel Atom Processor P5900 Series (SnowRidge)
o Support Icelake server processors
o Add Coment Lake support
o Add Tiger Lake support

Sponsored by:		Netflix
202011
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
202011
02 Dec 2020 18:05:48
Revision:556841Original commit files touched by this commit
imp search for other commits by this committer
GH_TAGNAME is redunant as its the default value. Remove it.

Suggested by: jbeich@
202011
01 Dec 2020 00:42:31
Revision:556694Original commit files touched by this commit
imp search for other commits by this committer
Update to 202011 version

Submitted by: mjg@
202010
23 Oct 2020 20:50:44
Revision:553142Original commit files touched by this commit
imp search for other commits by this committer
Update to the 202010 release.

Submitted by: mjg@
202009
03 Oct 2020 18:57:23
Revision:551338Original commit files touched by this commit
imp search for other commits by this committer
Upgrade to intel-pcm-202009

Update to the freshly minted 202009 version.

Submitted by: mjg@
202008_1
30 Aug 2020 21:13:10
Revision:547126Original commit files touched by this commit
imp search for other commits by this committer
update to Intel's 202008 tag

Lots of bug fixes, plus a new pcm-raw.x program

Submitted by: mjg@
202007_1
17 Aug 2020 17:36:11
Revision:545177Original commit files touched by this commit
imp search for other commits by this committer
Update to Intel's 202007 tag.

Many of the patches are no longer necessary.

Submitted by: mjg@
201902_1
27 Sep 2019 00:03:30
Revision:512994Original commit files touched by this commit
imp search for other commits by this committer
Use tab instead of multiple spaces
201902_1
26 Sep 2019 20:53:42
Revision:512986Original commit files touched by this commit
imp search for other commits by this committer
The code creates a lambda function that takes by reference the core_id local
variable, and pass it to a thread that often executes after constructor has
exited causing per-core thread to use a corrupted core_id.

Depending on compiler and runtime execution (and whether executing over gdb),
the tool might segfault or have incorrect behavior.

This makes sure the lambda function takes copy of automatic variable in
enclosing environment.

Submitted upstream as https://github.com/opcm/pcm/pull/162

Submitted by: Loic Prylli
Sponsored by: Netflix, Inc
Differential Revision: https://reviews.freebsd.org/D21804
201902
15 Jul 2019 23:02:25
Revision:506714Original commit files touched by this commit
imp search for other commits by this committer
Update to 201902

Update to the latest release. There's also been reports of coredumps with the
default -O3 settings and clang 8.0, but not with -O0. Until those are solved,
be conservative and compile -O0. 201902 also fixes a number of stats collection
issues on NUMA / multi-socket machines.

Reported by: gallatin@
201812.3
20 May 2019 21:46:23
Revision:502175Original commit files touched by this commit
imp search for other commits by this committer
Update intel-pcm to 201812.3 release.
201710
07 Apr 2018 14:35:13
Revision:466729Original commit files touched by this commit
dbaio search for other commits by this committer
Add sysutils/intel-pcm-devel: Process Count Monitor (PCM) for Intel processors

Processor Counter Monitor (PCM) is an application programming interface (API)
and a set of tools based on the API to monitor performance and energy metrics
of Intel(r) Core(tm), Xeon(r) and Atom(tm) processors.

This requires the 'cpuctl' module to be loaded.

WWW: https://github.com/opcm/pcm

PR:		227317
Submitted by:	Vinicius Zavam <egypcio@googlemail.com>
Differential Revision:	https://reviews.freebsd.org/D14986
201710
25 Oct 2017 15:11:40
Revision:452864Original commit files touched by this commit
swills search for other commits by this committer
sysutils/intel-pcm: update to 201710

PR:		223233
Submitted by:	kbowling
Approved by:	imp (maintainer, via Slack)
201705
02 Oct 2017 17:17:09
Revision:451085Original commit files touched by this commit
swills search for other commits by this committer
sysutils/intel-pcm: update to 201705

PR:		222383
Submitted by:	kbowling
Approved by:	maintainer timeout (imp, > 2 weeks)
2.11.1
29 Jan 2017 19:40:38
Revision:432797Original commit files touched by this commit
marino search for other commits by this committer
sysutils/intel-pcm: Include <strings.h> for GCC

Approved by:	GCC support blanket
2.11.1
25 Jan 2017 15:46:41
Revision:432423Original commit files touched by this commit
dbn search for other commits by this committer
sysutils/intel-pcm: update to 2.11.1

 - move to official github project
 - update comment to changes in project focus
 - add license file
 - drop use of compiler:c1++11-lib, no longer needed
 - remove patch for pci.cpp, no longer needed
 - update pkg-descr with text from new website

PR:		215897
Approved by:	imp (maintainer, timeout: 16 days)
2.11
01 Jan 2017 03:45:13
Revision:430235Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
2.11
02 Dec 2016 09:21:59
Revision:427548Original commit files touched by this commit
mat search for other commits by this committer
http://github.com redirects to https://github.com, spare everyone a redirect.

Sponsored by:	Absolight
2.11
14 Oct 2016 00:03:44
Revision:423942Original commit files touched by this commit
imp search for other commits by this committer
These aren't needed anymore, and should have been deleted with the
last import.

Submitted by: gallatin@
Sponsored by: Netflix, Inc
2.11
14 Oct 2016 00:03:37
Revision:423941Original commit files touched by this commit
imp search for other commits by this committer
This doesn't build on FreeBSD 9.x, so don't bother trying.
2.11
04 Sep 2016 13:23:18
Revision:421335Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix compiler requirements, add missing include, fixes build on 11.x+

Approved by:	portmgr blanket
2.11
26 Apr 2016 16:32:09
Revision:414061Original commit files touched by this commit
imp search for other commits by this committer
Update to PCM 2.11.
2.10_1
23 Dec 2015 23:43:31
Revision:404331Original commit files touched by this commit
imp search for other commits by this committer
Regenerate the .tar.gz file without ^M for real this time.
Update the checksum. Update the PORTREVISION like I should
have done in the last iteration.
2.10
23 Dec 2015 18:30:26
Revision:404307Original commit files touched by this commit
imp search for other commits by this committer
Simplify now that we don't need dos2unix.
2.10
23 Dec 2015 18:20:20
Revision:404306Original commit files touched by this commit
imp search for other commits by this committer
Move to using tar.gz. The zip file has too much variation with line
endings, so avoid that problem by extracting it, using Unix line
endings and putting that up. Since we have to provide a dist file
anyway, seems like the prudent thing to do.
2.10
20 Dec 2015 13:46:02
Revision:404053Original commit files touched by this commit
antoine search for other commits by this committer
Fix "make patch" and plist

Reported by:	pkg-fallout
2.10
17 Dec 2015 23:12:56
Revision:403940Original commit files touched by this commit
imp search for other commits by this committer
Update to Intel PCM v2.10
2.8
07 Jul 2015 04:26:33
Revision:391488Original commit files touched by this commit
adrian search for other commits by this committer
Fix a typo in the origin URL (mine.)
2.8
26 Jun 2015 12:43:32
Revision:390630Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix build on 9.x
- While here, don't set flags which are not used

Submitted by:	pkg-fallout
Approved by:	portmgr blanket
2.8
21 Jan 2015 04:31:17
Revision:377572Original commit files touched by this commit
imp search for other commits by this committer
Update to 2.8.
2.6_2
15 Apr 2014 17:01:18
Revision:351350Original commit files touched by this commit
imp search for other commits by this committer
Add a seat-belt safety check to make sure that cpuctl is loaded before
using it. Otherwise, we can divide by zero with a semaphore held and
it takes extraordinary measures to reset the semaphore...

Submitted by: Jim Harris
2.6_1
12 Mar 2014 22:43:13
Revision:348012Original commit files touched by this commit
imp search for other commits by this committer
Move to using a cached copy of Intel's zip file, per their request. Pull
in the fix from git to make cpucounters.cpp compile.
2.6
09 Jan 2014 18:15:32
Revision:339266Original commit files touched by this commit
mat search for other commits by this committer
* Remove MASTER_SITE, not needed with USE_GITHUB
* Doesn't compile with gcc 4.2.
2.6
09 Jan 2014 18:09:42
Revision:339265Original commit files touched by this commit
mat search for other commits by this committer
Pet portlint, and correct distinfo.
2.6
09 Jan 2014 18:05:06
Revision:339264Original commit files touched by this commit
adrian (src committer) search for other commits by this committer
Fix address capitalisation.

Sponsored by:	Netflix, Inc.
2.6
09 Jan 2014 18:00:00
Revision:339262Original commit files touched by this commit
adrian (src committer) search for other commits by this committer
Add a port for my github mirror + freebsd fixes for the intel
performance counter monitoring (PCM) toolkit.

Sponsored by:	Netflix, Inc.

Number of commits found: 47