From nobody Tue Oct 28 19:01:52 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 4cx09D73Thz6DKyl; Tue, 28 Oct 2025 19:01:52 +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 4cx09D6CJ5z3Rpl; Tue, 28 Oct 2025 19:01:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761678112; 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=3eQAGcig3wALudpRYXLPgXBaa2ue7YrQehCEsSinhwU=; b=ZaAQWBRu5xjn6LUnTmf5cu9dG16+zUA4vbfq5ie5YyT3Z6pd7pcF4KOFragX8ZczAVi21h 9hXWmql1ifng7Mla6B6ksuuiSQFINOFBJ4ed5Z8IwZaNsxgAXO6QbBpX9ckiS7pU+y8isl RyP9aemgcBIqb8eYF/WoTJWSZZ5nE2A/RjLpWtcllnFeffMsqN6KmhfHiu6g0Gm8SUWXHe 04P5VdbJUpHPngM9J1/N5tg/dhkhTehJil6tXOSigSmy85A3FAFTIkPuZ0nQwYDOLnmdVW is7cvuuJ026flGLQ/HHzTMDWdYS3Zau2px2lLVOZynSVRJ2F64Jt8ucNYaJIFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761678112; 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=3eQAGcig3wALudpRYXLPgXBaa2ue7YrQehCEsSinhwU=; b=Z+wMfjTkDxSHXJF1/VXASS86kf5a0+hidLAg3rqNcaIOKwJhvAlwMxpX6hlslYVuJZzA2/ TWys/ZLaqgckzvegySd2DWfhVMcA2HY2N0hVfGiiB9z8ddmP3BsAoQA3pfxj4Hhgpf2yoO 5+WE72IO1S13WPRt2uixWu2pHY+deyn8oVqIpl+BkzP2vuKviPQ8HM05TPn81UOb6ueuwe wmhINbK9zUb2KZJZnZOpJT4m8XLWPbO+vhWt9MmIIO8PJlC+PjbA2YmPrrD8DPazULB6Mp KCv6O+XmEfyr1aQuzs8eIUdj3PicXnAo7Kt9dzcPjdNUG5/YYzUzbuh9B8n9tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761678112; a=rsa-sha256; cv=none; b=R9wunZY0jmlu45T5zDe9RyHVYQc0PSoxB9Sx3HKgVIdJiwaNUXBjfQZ9mS54fohoDyohWG KXOByBUmxc/jIPViIA0Gx3GlJalzjoAivMoGvhKRLG8cbx/e1d8f6uF7OzvcrH/zjBmxfC 6CsbGUqN+EArIWhwhD2vXk6EAOVMm64CLUuSyowG0hFiC9f6iM26WCPk8bqaQS0SpZfEP4 wDxE6YzjO3WQNhRv2Y7/7pFKbUWQvn/lkAh8alKzZyY1sMxdTQgD0RLG/IqEeDw+ynB+FO CBcZpa7/M3VyeSNGrCqq+ysqcxU1YiO8eLC2YVPDB5/mankwc9XJOM0AgZUVPg== 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 4cx09D5c70z12Rn; Tue, 28 Oct 2025 19:01:52 +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 59SJ1qUS009251; Tue, 28 Oct 2025 19:01:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59SJ1q7w009248; Tue, 28 Oct 2025 19:01:52 GMT (envelope-from git) Date: Tue, 28 Oct 2025 19:01:52 GMT Message-Id: <202510281901.59SJ1q7w009248@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: c6b156e360fc - main - pmcstat: Remove no-op -k option 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c6b156e360fc5b18ee20bae0fc0c4188c3aadea6 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=c6b156e360fc5b18ee20bae0fc0c4188c3aadea6 commit c6b156e360fc5b18ee20bae0fc0c4188c3aadea6 Author: Ed Maste AuthorDate: 2025-10-28 13:12:05 +0000 Commit: Ed Maste CommitDate: 2025-10-28 19:01:38 +0000 pmcstat: Remove no-op -k option Commit 53d0b9e438bc ("pmc: Provide full path to modules from kernel linker") made pmcstat's -k option have no effect, but the option was retained for backwards compatibility (while emitting a warning that -k is not in FreeBSD 15). Reviewed by: jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53397 --- usr.sbin/pmcstat/pmcstat.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c index ac9169f3e008..1809dae7bc4c 100644 --- a/usr.sbin/pmcstat/pmcstat.c +++ b/usr.sbin/pmcstat/pmcstat.c @@ -519,7 +519,7 @@ main(int argc, char **argv) CPU_COPY(&rootmask, &cpumask); while ((option = getopt(argc, argv, - "ACD:EF:G:ILM:NO:P:R:S:TUWZa:c:def:gi:k:l:m:n:o:p:qr:s:t:u:vw:z:")) != -1) + "ACD:EF:G:ILM:NO:P:R:S:TUWZa:c:def:gi:l:m:n:o:p:qr:s:t:u:vw:z:")) != -1) switch (option) { case 'A': args.pa_flags |= FLAG_SKIP_TOP_FN_RES; @@ -607,11 +607,6 @@ main(int argc, char **argv) args.pa_flags |= FLAG_SHOW_OFFSET; break; - case 'k': /* pathname to the kernel */ - warnx("WARNING: -k is obsolete, has no effect " - "and will be removed in FreeBSD 15."); - break; - case 'L': do_listcounters = 1; break;