From nobody Thu Oct 30 20:53:40 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 4cyGYJ6XzGz6FZmf; Thu, 30 Oct 2025 20:53:40 +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 4cyGYJ5jmZz3JJR; Thu, 30 Oct 2025 20:53:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761857620; 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=Bjg9RdNcPZNr4Xgu83pdvWjOkGbjoBfs7J18/Cj5JQw=; b=xxs4JhdysnW8v9b9xwyO7QqzU2F2E9L5ZjKwgvmGl08vJdhbHalEuPeuItThl4IlDsJj8h fFYbI0LuOqQtf951jfeyjRBXtIX8RVOmPLjFjptBvOCvbnayN1330cPQB8CIK3WhfkNLV0 jhFeZ6zUzWDSAjQOsItxgj4pAQg28KthX134ZI4oh706k5Oi2Is1IM5tQcLfYqOdxzeLN4 TyHV4F63p8EM784fD1zZ7Ue3gUdNfRyP8gytIABY5keoVYVePOekdqTKqFLZIfdb/kwsVD 8N0zyPT1h9C0LbxdRycGyFMOFLrYdn0j6PAxEMNS2e2EhNriq57wrtBimUFwcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761857620; 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=Bjg9RdNcPZNr4Xgu83pdvWjOkGbjoBfs7J18/Cj5JQw=; b=Hzr4F+SxZmTW7dtwuvJePup7Eki9sJPwoumrd0sQEaEQvHEriqgK4hIwjBiE0pyXBOLuZX dOG1N+irq7+Ifwak/l6qTfgE2UeGeR5LH2w7APhRps+Eu3KQVdhqMAqUqAywPRNkS3TNov NrSqJtNuJ3K7A1C9uxHmEnys+bToHuz/aumLhM7L6qb+RvNtlFQFNSciBL/Cz/kFTUYfWh xszwy6hQRilxfqoKBNomWHKToci4iq7MzLYpcXI52iSev6C0U3x42q9s/QFhCRNEHhNJmh /Ym4uGMFRdUy2XN4KtNlzSUk8/gKWEdAFoB2Hh6M4V6W1pguTrkF/yib1Tw9lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761857620; a=rsa-sha256; cv=none; b=V7zwNe+Q3MDzueQO9eo5eY17XB/brF8HITE/nXzuUCUx3wt11DxAfU4sSc0YqkvpPGMBCL lVKE4NBf+c4g8UmWTWA30ngfZkx3EskM0seA1gWnDC1NmKLcWfG8YAjDqX0SJvqmSKYKi2 tU+e1lTn+NnywLqDMobYQagE6PM150ipGvKZ8eEtI3Fd1KAepsa/iuAr0fSIi82mDDvj3U /mqu5sWvyCZVVMToVPTj6zkLwGaYUlumLuKU05uo/oIIxqtvP9bt6YFBjvAuQXoWfiHXo9 jfISqQm8k5y65d7nNKo3OyZzoypVbeJxxVY/wzq8fY6ljG8ZBzI96GUJhUvKCw== 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 4cyGYJ5HY0zfg6; Thu, 30 Oct 2025 20:53:40 +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 59UKrel6049883; Thu, 30 Oct 2025 20:53:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59UKreIB049880; Thu, 30 Oct 2025 20:53:40 GMT (envelope-from git) Date: Thu, 30 Oct 2025 20:53:40 GMT Message-Id: <202510302053.59UKreIB049880@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 443258a77ae2 - releng/15.0 - 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: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/releng/15.0 X-Git-Reftype: branch X-Git-Commit: 443258a77ae2580c68bc310f5ab722b498206fed Auto-Submitted: auto-generated The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=443258a77ae2580c68bc310f5ab722b498206fed commit 443258a77ae2580c68bc310f5ab722b498206fed Author: Ed Maste AuthorDate: 2025-10-28 13:12:05 +0000 Commit: Colin Percival CommitDate: 2025-10-30 20:53:20 +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). Approved by: re (cperciva) Reviewed by: jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53397 (cherry picked from commit c6b156e360fc5b18ee20bae0fc0c4188c3aadea6) (cherry picked from commit 958659dc9410f332ce0a028d2d5fdc82da8a03dd) --- 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 98e14dfb9113..a1f563e5acbc 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;