From nobody Thu Sep 25 01:01:33 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cXFly3bMtz68kLR; Thu, 25 Sep 2025 01:01:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cXFlx6d7nz3b7J; Thu, 25 Sep 2025 01:01:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758762093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KmA6epbNaPoza7EekaQ1yIQnCv9jw+fDTRt3xeTSdyQ=; b=q281pn5CdtrH/wHwYDw3icqKJp+clWoHCIDhqyU0485LP53TP2la0QXAPPHLHDNiVtA2q4 P0Ve2mTv32eozK23inp//pF6FHNDeB5nmFkY9jB7cUeJ07eCtYxLlXHd9hFSCuyiOntWyL Vdekk7sGX93voffdTjrG0MSvMcSKYX4a9W3LxynGcNgeLJy715ce1wt2Cw+wYZu9oJTh+u wkCsEmAS5DiRYlU8OLiiJGuk3srQ4gjh4YhDyVu7UtIrabqgsqepyLd2TyvcoZrCkW3lEv ACIHi9S4yOVVB1hKWu2Zy1F0/hVB0VxgCt7OnJ7zPa7tz1NKhgWsrnb3rmloWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758762093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KmA6epbNaPoza7EekaQ1yIQnCv9jw+fDTRt3xeTSdyQ=; b=s2kL2gDlWYGhwTXRNWiCXbClm141nxGblrPYtJimrNIDl8XpHxzI6pat59ECObe0/Hn2CE 2gACL05QbcVuoehksnEP+ieSYH1m2mSNBBB89ZIrzJ87zLf1N1ql3zgY3onDvN+Z57J8bQ 2uff8xcT9UcXj81RDddE9F3rWJ2GpyhMLAYlTBQPd8hn3eGfSDcj4uevOA/jYUGVdi3VIP 69eqR7veHpkwhTKcKnzDLOP7b47wkJVX7KRW0MIqloYyTgvqzBU08P08nIKq6Ira0KqosD zwrMtBi17DTa5sU7S1HPc3nikO6rooWKdHYmUehOb32q+n+xnZE26Y7ofqGKhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758762093; a=rsa-sha256; cv=none; b=jyMFsZMyN27oDGdzstv7ECzwdWtIft/MGty/ia6uq3Z43tfVzAIhcteevaa8qV5YlNjb5+ envbVqgWaixw4u3knNc4vJXGP8/gDbgNUdXsDA+PRLX6ZWFejbwXUGEmCKQbUeZDBqm91F yL4q/TXkZZyoREtfxz33n37klo+v1p9SaTl1CIb07XpNN5EqN5KfVL8umkYbKSunS9+S/L ByolKBLyWSV/RW5pDKcTQ3XgQa7coauM/JMQ+BtEXQcb1fKAraNgvNQj/MLpdg3SbTSFUz QXKf/VW/d2lVsN3qXqMJ68yb6wxisDF0eP5z8XVSzaS5PJhNseSv3aELnfRhRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cXFlx6F10zw4Y; Thu, 25 Sep 2025 01:01:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58P11XhX086703; Thu, 25 Sep 2025 01:01:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58P11XMW086700; Thu, 25 Sep 2025 01:01:33 GMT (envelope-from git) Date: Thu, 25 Sep 2025 01:01:33 GMT Message-Id: <202509250101.58P11XMW086700@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Lexi Winter Subject: git: 846125d00353 - stable/15 - libpmc: Move libpmc and utils to a new pmc package List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ivy X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 846125d003534717be3fb8e076493e487237b394 Auto-Submitted: auto-generated The branch stable/15 has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=846125d003534717be3fb8e076493e487237b394 commit 846125d003534717be3fb8e076493e487237b394 Author: Lexi Winter AuthorDate: 2025-09-23 21:30:49 +0000 Commit: Lexi Winter CommitDate: 2025-09-25 01:00:40 +0000 libpmc: Move libpmc and utils to a new pmc package Due to the size of libpmc.so.5, this reduces the size of the -utilities package by 10%. MFC after: 1 day Reviewed by: manu, adrian, emaste Differential Revision: https://reviews.freebsd.org/D52662 (cherry picked from commit 67c3c3a274468d09925af3cf64da3f9cf878cc80) --- UPDATING | 6 +++++- lib/libpmc/Makefile | 4 ++-- release/packages/ucl/pmc-all.ucl | 12 ++++++++++++ usr.sbin/pmc/Makefile | 1 + usr.sbin/pmcannotate/Makefile | 4 +--- usr.sbin/pmccontrol/Makefile | 4 +--- usr.sbin/pmcstat/Makefile | 4 +--- usr.sbin/pmcstudy/Makefile | 1 + 8 files changed, 24 insertions(+), 12 deletions(-) diff --git a/UPDATING b/UPDATING index 52b7ebf4ad65..1b691f57d9a1 100644 --- a/UPDATING +++ b/UPDATING @@ -13,11 +13,15 @@ Items affecting the ports and packages system can be found in and/or ports. 20250924: + 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: The MANSPLITPKG knob has been turned off by default, so pkgbase builds diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile index 8728b0c1c76d..590f719ebff4 100644 --- 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 index 000000000000..5c8e44d264b2 --- /dev/null +++ b/release/packages/ucl/pmc-all.ucl @@ -0,0 +1,12 @@ +comment = "Support for hardware performance counters" + +desc = < +PACKAGE= pmc PROG_CXX= pmc MAN= CWARNFLAGS.gcc+= -Wno-redundant-decls diff --git a/usr.sbin/pmcannotate/Makefile b/usr.sbin/pmcannotate/Makefile index 8f408590a743..9c0eecbcafe3 100644 --- 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 index de6224979a60..976ff05fb457 100644 --- 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 index 7e0c671e38ac..d09b05a445ec 100644 --- 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 index ca0efde8d61a..4e2355be3683 100644 --- 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