Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140743194
D52662.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D52662.diff
View Options
diff --git a/UPDATING b/UPDATING
--- a/UPDATING
+++ b/UPDATING
@@ -28,11 +28,15 @@
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
20250923:
+ Several changes which affect pkgbase users (only):
+
powerd has been moved to a new FreeBSD-powerd package. If you have
FreeBSD-set-minimal installed, the new package will be installed
automatically, otherwise you may want to install it by hand.
- This only affects pkgbase users.
+ libpmc and related utilities (/usr/sbin/pmc*) have moved to the new
+ FreeBSD-pmc package. If you use these, you may want to install the
+ package.
20250918:
mandoc (including /usr/bin/man) has been moved to a new package,
diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile
--- a/lib/libpmc/Makefile
+++ b/lib/libpmc/Makefile
@@ -1,5 +1,5 @@
-LIB_CXX= pmc
-
+PACKAGE=pmc
+LIB_CXX=pmc
SRCS= libpmc.c pmclog.c libpmc_pmu_util.c libpmc_json.cc
INCS= pmc.h pmclog.h pmcformat.h
diff --git a/release/packages/ucl/pmc-all.ucl b/release/packages/ucl/pmc-all.ucl
new file mode 100644
--- /dev/null
+++ b/release/packages/ucl/pmc-all.ucl
@@ -0,0 +1,12 @@
+comment = "Support for hardware performance counters"
+
+desc = <<EOD
+The Performance Counters Library (libpmc, -lpmc) provides a programming
+interface that allows applications to use hardware performance counters
+to gather performance data about specific processes or for the system as
+a whole. The library is implemented using the lower-level facilities
+offered by the hwpmc(4) driver.
+
+The utilities pmc(8), pmcannotate(8), pmccontrol(8) and pmcstat(8) provide
+command-line access to the facilities provided by libpmc.
+EOD
diff --git a/usr.sbin/pmc/Makefile b/usr.sbin/pmc/Makefile
--- a/usr.sbin/pmc/Makefile
+++ b/usr.sbin/pmc/Makefile
@@ -1,5 +1,6 @@
.include <src.opts.mk>
+PACKAGE= pmc
PROG_CXX= pmc
MAN=
CWARNFLAGS.gcc+= -Wno-redundant-decls
diff --git a/usr.sbin/pmcannotate/Makefile b/usr.sbin/pmcannotate/Makefile
--- a/usr.sbin/pmcannotate/Makefile
+++ b/usr.sbin/pmcannotate/Makefile
@@ -1,6 +1,4 @@
-#
-#
-
+PACKAGE=pmc
PROG= pmcannotate
MAN= pmcannotate.8
diff --git a/usr.sbin/pmccontrol/Makefile b/usr.sbin/pmccontrol/Makefile
--- a/usr.sbin/pmccontrol/Makefile
+++ b/usr.sbin/pmccontrol/Makefile
@@ -1,6 +1,4 @@
-#
-#
-
+PACKAGE= pmc
PROG_CXX= pmccontrol
MAN= pmccontrol.8
diff --git a/usr.sbin/pmcstat/Makefile b/usr.sbin/pmcstat/Makefile
--- a/usr.sbin/pmcstat/Makefile
+++ b/usr.sbin/pmcstat/Makefile
@@ -1,6 +1,4 @@
-#
-#
-
+PACKAGE= pmc
PROG_CXX= pmcstat
MAN= pmcstat.8
diff --git a/usr.sbin/pmcstudy/Makefile b/usr.sbin/pmcstudy/Makefile
--- a/usr.sbin/pmcstudy/Makefile
+++ b/usr.sbin/pmcstudy/Makefile
@@ -1,3 +1,4 @@
+PACKAGE=pmc
PROG= pmcstudy
MAN= pmcstudy.8
SRCS= pmcstudy.c eval_expr.c
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 28, 1:09 PM (4 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27333393
Default Alt Text
D52662.diff (2 KB)
Attached To
Mode
D52662: libpmc: Move libpmc and utils to a new pmc package
Attached
Detach File
Event Timeline
Log In to Comment